Bug: IDs on static controls.

This forum designated to discuss the Resource Builder
Post Reply
JorgenHagglund
Posts: 3
Joined: Mon Jul 19, 2010 1:39 pm

Bug: IDs on static controls.

Post by JorgenHagglund »

Try this:
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.

Conclusion:
When entering a defined constant in the caption, exclude the quotes.

Hope this will be corrected.

Best regards,
/Jörgen

Post Reply