Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Icons appear with black background Collapse All
Subject Author Date
Suhai Gyorgy Jul 7, 2006 - 9:30 AM

Dear Support,

I have a ListCtrl that I want to fill with all the commands from the CmdManager and their icons. This has been working ok... But now I’m using your v.2.55 and with that icons in ListCtrl appear with black background. (I’m not sure if it was working with v.2.54, I know from that version on you have different CmdIcon handling)

Sample to demonstrate problem: BlackIcon.zip
Could you please check if I have to modify my code with new CmdIcons.

Thank you:
Chris.

Suhai Gyorgy Jul 7, 2006 - 9:31 AM

Oh, I forgot to add: in sample you have to click "Fill list" command or "F" toolbar button to fill list.

Technical Support Jul 7, 2006 - 11:02 AM

Please use the ILC_COLOR32 constant when creating the image list:

imList.Create(16, 16, ILC_COLOR32|ILC_MASK, 2, 1);