Hi, I'm trying to use a progress bar control in my application. I'm following this example at msn site http://msdn.microsoft.com/library/?u...divcontrol.asp.
I'm using this code to create the control:
Before, I've initializedCode:InitCommonControlsEx(&myInitCtrls); hwndProgressBar = CreateWindowEx( 0, progressBarClassName, NULL, WS_CHILD | WS_VISIBLE, 0, 0, 200, 10, hwndParent, 0, hInstance, NULL);
and includedCode:INITCOMMONCONTROLSEX myInitCtrls;
The problem is that compiler throws this error:Code:#include <commctrl.h>
I've checked comctl32.dll version 4.70 or later is my Windows System Directory.Code:"31 progressbar.c [Warning] data definition has no type or storage class"



LinkBack URL
About LinkBacks


