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 General Discussion » Transparent icon on skinned statusbar Collapse All
Subject Author Date
Jonas Gauffin Aug 18, 2006 - 12:43 AM

I have an icon that have a transparent background.
MFC replaces the bk color with the system bkcolor (that’s how mfc makes the background "transparent").
This do not look nice in a skinned (blackdiamond) statusbar.

Got any suggestions how to fix this (gotto work with both regular gui and skinned gui)?

Andrej Kasa Dec 7, 2006 - 6:49 AM

I have a very similar problem: how to display regular icons in regular skinned dialogs (like a About box) with icons that have transparent colors (my icon has iregular shape therefore the transparent color in themed dialog has to be themed properly)? In the above response are you speaking about 32-bit bitmaps only or does it apply to regular icons in about box dialogs as well? what is the support for transparent icons in about dialogs - should I use CExtCmdIcon class or do I need to have my icon displayed as a regular 32-bit bitmap?

if I use 32-bit icons on any Windows OS what if the user is running e.g. 16-bit color mode?

krompo

Technical Support Dec 7, 2006 - 1:30 PM

You could use the CExtLabel class for your icon. It is derived from CStatic but draws the correct background when in the icon mode.

Technical Support Aug 18, 2006 - 12:54 PM

Starting from v.2.53, Prof-UIS features 32-bit bitmaps with alpha channel on any Windows OS and the problem you reported should never appear. Would you send us some screenshots and the code which initializes icons in your project.

Jonas Gauffin Aug 21, 2006 - 1:29 AM

My mistake. I was using CStatic and not CExtLabel