res.h:
Code:
#define IDD_ABOUT 101
#define IDR_MYMENU 102
#define IDI_MYICON 201
#define ID_PREF_PREFS 9001
#define ID_PREF_ABOUT 9002
#define ID_PREF_EXIT 9003
dlg.rc:
Code:
#include "res.h"
IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP // this line give me a parse error
FONT 8, "Tahoma"
BEGIN
DEFPUSHBUTTON "OK",IDOK,174,18,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 theForger",
IDC_STATIC,16,18,144,33
END
but why do I get that $$$$ty parse error? It's almost straight from the winprog.org tutorial.