I'm new to Dialogs, so bear with me if I've done something stupid with a file.
I use Dev C++ to compile, and ResEd to make the resource files.
I've made a simple Dialog programme, with 2 buttons and 2 blocks of text using ResEd:
I call upon the Dialog with a simple menu:Code:IDD_DLG1 DIALOGEX 6,5,305,129 CAPTION "About The Author" FONT 8,"MS Sans Serif",0,0 STYLE 0x80CF0080 BEGIN CONTROL "OK",IDD_OK,"Button",0x50010000,234,31,54,13 CONTROL "CANCEL",IDD_CANCEL,"Button",0x50010000,234,60,54,13 CONTROL "About the Author",IDC_GRP1,"Button",0x50000007,14,18,192,87 CONTROL "change this to text",IDC_STC1,"Static",0x50000000,18,38,182,63 END
Now i get no errors or warnings, but the Title bar and the background doesn't show, exept for the in the IDC_STC1 section where the BackGround shows.Code:case ID_MDIALOG: DialogBox(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_DLG1), hwnd, DialogProc); break;
I have no idea whats wrong, but any help is appreciated