Hi, I'm just going through theForger's tutorial for win32 API, and have got to the bit about dialog boxes. I've added this code to my resource file:
But when I compile the .rc using windres from the MinGW package it comes up with a parse error at the GROUPBOX line, and then when I comment that out there's another one at the CTEXT line. When both are commented out it will compile and run and produce the dialog, but obviously I need to be able to display text and such.
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"
GROUPBOX "About this program...",IDC_STATIC,7,7,225,52
CTEXT "An example program showing how to use Dialog Boxes\r\n\r\nby theForger",
Can anyone tell me why this isn't working and how to fix it?