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 » What type of bitmap in toolbar Collapse All
Subject Author Date
Pierre MEDART May 25, 2007 - 7:36 AM

Hi

We are migrating an old MFC application that has been extensively developped in VC6.

The bitmaps in the toolbar look outdated (256 colors). What bitmaps (colors, bits, etc, ;;;) have we to use to have "nice" icons in the toolbars?

Technical Support May 28, 2007 - 9:42 AM

We would recommend you switch to 32-bit bitmaps, in which 24 bits are used for colors and 8 bits for setting transparency. So you need to replace an existing bitmap resource with a new 32-bit bitmap resource and recompile your project.

The only problem is that you cannot do this using Visual Studio, which does not support true color images. You cannot do this with mspaint either. Here is how you can achieve this. Use Adobe Photoshop or a similar raster image editor that allows you to create nice images with transparency. If the editor supports 32-bit bitmap images (Adobe does not), that’s all. If not, save the image as a png image (png supports transparency). Use some tool that converts png images to 32-bit bimaps (e.g Axialis IconWorkshop).