See the sample program TABDLG.BP for a good example of the tab control. Here’s a screen shot of it, showing a Tab control inside of a modal dialog box:
this is a linked image
The colored strip across the top of the dialog is a bitmap file, displayed on the dialog using the AUI "IMAGE" class.