Originally posted by SteveCRM
oh I entered comctrl32.lib not comctl32.lib thanks, now it runs....but how would I now show the tab control? like what should I enter into CreateWindow?
You use "WC_TABCONTROL" with CreateWindow. Here is a little example:

PHP Code:
CreateWindow(
        
WC_TABCONTROL"",
        
WS_CHILD WS_CLIPSIBLINGS WS_VISIBLE,
        
00100100,
        
hwndDlgNULLg_hinstNULL
        
); 
I suggest that you read all about tab controls from here; it'll help you a lot:
http://msdn.microsoft.com/library/de...Tab/Styles.asp

I have never used tab control because I always use propertysheet (which uses tab control itself) and I make different dialog box for each tab control.