Professional UI Solutions
Site Map   /  Register


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 » Procedure to create Toolbar Collapse All
Subject Author Date
Anil Siddhpura Jan 5, 2010 - 4:25 AM


Can you tell me the procedure to create toolbar with 256 colors and >256 color in SDI and dialog base application?

Thanks in Advance!!!

Technical Support Jan 6, 2010 - 9:21 AM

You should create a toolbar using the Visual Studio wizards. Then add the required initial set of buttons, find the toolbar’s bitmap in the res subfolder of your project and replace it with a high color bitmap.

Anil Siddhpura Jan 7, 2010 - 5:18 AM


Yes, i already done that. But when I replace the high color bitmap with that toolbar’s bitmap, the color of that bitmap lost and that high color bitmap becomes 4-bit image.

Technical Support Jan 9, 2010 - 9:45 AM

The Visual Studio’s resource editor caches the resources you viewed or edited. We guess the Visual Studio simply overwrites your toolbar’s bitmap.

Anil Siddhpura Jan 11, 2010 - 5:29 AM


Yes, may be that could be the case. So is there any solution for that?

Technical Support Jan 11, 2010 - 12:27 PM

You should not try to open toolbar editor in Visual Studio. You should edit toolbar bitmap using some external image editor program. You should change toolbar resource by editing text of .rc2 file.