I have Dev-C++ 4 and am using Windows 98. I have a project I was going to add a dialog box to and added this code to the resource file:
I was going to make it have more text but this code wouldn't work. I hit build resource and it said it had an error in line 2, being the line where i define the STYLE. Those are perfectly acceptable styles so why is it causing an error? Thanks.Code:IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66 STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "My About Box" FONT 8, "MS Sans Serif" BEGIN DEFPUSHBUTTON "&OK",IDOK,174,18,50,14 PUSHBUTTON "&Cancel",IDCANCEL,174,35,50,14 GROUPBOX "About this program...",IDC_STATIC,7,7,225,52 END



LinkBack URL
About LinkBacks


