[Dev-C++] Parse error when building resources.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Magnus M. <lo...@te...> - 2002-02-04 12:33:09
|
Hello. I have a little problem when trying to add a dialog window to a resource file in DevC++ 4.01. I have a Win App project with C as language and when I try to add the following lines to the .rc file, I get a parse error. 100 DIALOG 100, 100, 200, 200 STYLE WS_VISIBLE | WS_SYSMENU | WS_POPUP | WS_CAPTION | DS_MODALFRAME CAPTION "Test" FONT 8,"Helv" BEGIN END The parse error is at the line starting with STYLE... I have no idea why since I used the "Create new dialog window" button in the resource edit window so it can't be me typing wrong, which it usually is when it says parse error. Any help with my problem would be appreciated. Thanks in advance. /Magnus |