Username:  
Password:     
Register Help Member List Calendar View New Posts View Today's Posts Search

About toolbars example
11-19-2016, 11:18 AM,
#1
About toolbars example
Hi,

I run your code in Dev-C++ 4.9.9.2 and it works well. But when I try to modify to my needs I get error.
In code for create the toolbar I add TBSTYLE_LIST as this:
Code:
hWndToolBar = CreateWindowEx(
           0,
           TOOLBARCLASSNAME,
           (LPSTR)NULL,
           WS_CHILD | TBSTYLE_LIST,
           0,
           0,
           0,

and get  xx...\main.cpp `TBSTYLE_LIST' undeclared (first use this function) .

How do I fix that??

/Jonny
Reply


Forum Jump: