Page 1 of 1

What have I done wrong??

Posted: Sun Jul 26, 2009 8:08 pm
by RBCC

Code: Select all

 CONTROL "", 110, 1033, "STATIC", SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 1, 48, 349, 158 
What have I done wrong?
[/code]

Posted: Mon Jul 27, 2009 1:40 pm
by florian
how about

Code: Select all

CONTROL 110, 1033, "STATIC", SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 1, 48, 349, 158 
or

Code: Select all

CONTROL "", 1033, "STATIC", SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_GROUP, 1, 48, 349, 158 
?
Florian

Does this work the same for avis?

Posted: Tue Jul 28, 2009 2:48 am
by RBCC
Does this work the same for avis in dialogs? John

I get this

Posted: Tue Jul 28, 2009 5:46 am
by RBCC
CONTROL 110, 1033, "STATIC", SS_BITMAP | WS_GROUP, 1, 48, 349, 158, 0x010000
Line 6 : I can't find style flags!

What does that mean? :D

Posted: Fri Jul 31, 2009 2:04 pm
by florian
This works fine for me:

Code: Select all

1 DIALOG 0, 0, 252, 218
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUPWINDOW | WS_VISIBLE | WS_CAPTION
CAPTION "Test"
FONT 8, "MS Shell Dlg"
{
CONTROL 110, 1033, "STATIC", SS_BITMAP | WS_GROUP, 1, 48, 349, 158, 0x010000
}
Provided that there is a Bitmap resource named 110.

Please copy/paste the entire RC code here so that I can see what's happening.

Regards,
Florian