Joined: 19 Jul 2010
|Posted: Thu May 05, 2011 6:36 pm Post subject: Bug: IDs on static controls.
Create a dialog, add an image to it and set the images caption to a defined constant which is a bitmap. Set the images type to SS_BITMAP.
Watching the script, You get something like:
CONTROL "IDB_ARROW_RIGHT",1,"STATIC",SS_BITMAP |WS_CHILD |WS_VISIBLE ,40,80,8,8
Where is should be, to work correctly:
CONTROL IDB_ARROW_RIGHT,1,"STATIC",SS_BITMAP |WS_CHILD |WS_VISIBLE ,40,80,8,8
Notice the missing doublequotes on the constant.
When entering a defined constant in the caption, exclude the quotes.
Hope this will be corrected.