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 » Toolbar button background different than actual toolbar background Collapse All
Subject Author Date
Timothy Anderson Jul 13, 2006 - 11:30 PM

Is there a way to get the toolbar button itself to display in the same color as the toolbar background? This problem seems to be fairly universal with using the toolbar resource itself. The MDI application exhibits this exact same behavior, with a small dark grey box with the bitmap in it, then a lighter button surround, then the toolbar border color.

Timothy Anderson Jul 13, 2006 - 11:32 PM

This also seems to be computer dependant. Some have problems, some don’t. I’m using 2.52 with VS 2K3. As I mentioned this seems to be a fairly universal problem. Individual icons with known background color all obviously show up just fine.

Technical Support Jul 14, 2006 - 12:15 PM

It seems we know what the problem is. In version 2.53 we fixed a bug with an invalid non-transparent background of toolbar icons when running the desktop in the 16-bit color mode. In a 32-bit color mode the icons are always drawn correctly.

In fact we completely renewed the CExtCmdIcon and CExtBitmap classes, which are now based on a 32-bit bitmap with alpha channel. The icons, which are used everywhere in menus and toolbars, now have the Windows Vista/XP icon quality on any Windows OS starting from 95/NT4. The renewed icon class also features an enhanced algorithm for generating hovered, pressed, and disabled images.

So we cannot send you a bug fix and you can only fix this problem by upgrading to a new version. Please carefully read the version history with this regard. We listed all the methods, whose declarations had been changed.

Timothy Anderson Jul 14, 2006 - 3:23 PM

Thanks! We are in the throws of a release, but will be jumping to VS2K5 right after it’s out. I can jump to the latest profuis and deal with it then. I was just curious if there was something easy. I figured there probably wouldn’t be...