I'm having a compiling problem with a resource. The entire program code was taken directly from http://winprog.org/tutorial/ and I'm getting compiling errors on both the STYLE and EXSTYLE lines of the resource.
The precompiled program works perfectly and when I comment the two lines out, It also works just fine (except the styles aren't there, of course). I'm using the Dev C++ compiler with the C language settings (I've switched to C++ and that makes no changes). And, of course, my project type is set to GUI, not Console or anything like that. Is the FAQ simply wrong or do my problems lie deeper?Code:IDD_TOOLBAR DIALOGEX 0, 0, 98, 52 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION EXSTYLE WS_EX_TOOLWINDOW CAPTION "My Dialog Toolbar" FONT 8, "MS Sans Serif" BEGIN PUSHBUTTON "&Press This Button",IDC_PRESS,7,7,84,14 PUSHBUTTON "&Or This One",IDC_OTHER,7,31,84,14 END
Thanks.



LinkBack URL
About LinkBacks


