RE: [Dev-C++] [DEV C++] Resource file icon problem
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Chris S. <CS...@Ai...> - 2003-11-24 02:59:08
|
Enmaniac,=20
=20
I was wondering if you have received a solution to this problem. I have =
also encountered it but haven't seen any responses posted to the user =
list.=20
=20
Chris=20
-----Original Message-----
From: Enmaniac [mailto:enm...@op...]
Sent: Tuesday, 18 November 2003 8:11 PM
To: Dev...@li...
Subject: [Dev-C++] [DEV C++] Resource file icon problem
Hi!
=20
I have created dialog window in resource file as follows:
=20
IDD_DIALOG_HELP_ABOUT DIALOGEX 0, 0, 253, 129
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | =
WS_SYSMENU
CAPTION "O programie..."
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,101,111,50,14
ICON IDI_ICON,IDC_STATIC,26,25,21,20,SS_CENTERIMAGE
CTEXT =
"Bumar",IDC_STATIC_APPNAME,91,19,98,11,SS_CENTERIMAGE
LTEXT "Program:",IDC_STATIC,81,38,59,11
LTEXT "Albert Banaszkiewicz",IDC_STATIC,81,50,72,11
LTEXT "Praktyki - Lipiec 2003",IDC_STATIC,174,63,72,11
LTEXT "Wersja",IDC_STATIC_VERSION,15,73,52,9
LTEXT =
"enm...@op...",IDC_STATIC_EMAIL,189,85,57,9,SS_NOTIFY
CTEXT "email:",IDC_STATIC,164,85,22,9
GROUPBOX "",IDC_STATIC,7,7,239,93
END
=20
Problem is with the bolded line I suppose
=20
There is NO icon when I display dialog. I have checked this code with VC =
and it works, but in DevC++ it doesn=92t :-(
=20
Does anyone know why is it so ?
=20
Thx in advance :-)
Enmaniac
|