Resource file parse error
Hi I'm stupmed as to what the parse error is in this resource file which I grabbed form a tutorial as I'm learning windows programming.
Code:
IDR_MYMENU MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit", ID_FILE_EXIT
END
POPUP "&Stuff"
BEGIN
MENUITEM "&Go", ID_STUFF_GO
MENUITEM "G&o somewhere else", 0, GRAYED
END
POPUP "&Help"
BEGIN
MENUITEM "&About", ID_HELP_ABOUT
MENUITEM "&Version", 0, GRAYED
END
END
IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 70
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU <---- apparently there's a parse error here :confused:
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
CTEXT "An example program showing how to use Dialog Boxes\r\n\r\nby Lanre",
IDC_STATIC,16,18,144,33
END
Anyone know what it is??