Dialog Box (Compile Problem)
I have an odd problem.
I have searched the boards and google to no avail.
I have created a Dialog Box, which works fine. I want to add text to the Dialog Box, but when I add the line of code to do so, I get some errors.
Here is what I've got.
It gives me a "parse error" on the CTEXT line.
IDD_ROM_INFO DIALOG 0, 0, 200, 200
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rom Info"
FONT 8, "MS Sans Serif"
DEFPUSHBUTTON "OK", IDOK, 50, 185, 100, 10
CTEXT "Rom Name:", IDC_STATIC, 16, 18, 9, 33
I have included "resource.h" and <windows.h> in the resource file.
I am thinking that IDC_STATIC is not being defined, but I dont know what header it is supposed to be in.
I am using Dev-C++ 126.96.36.199