Print Page | Close Window

using VC6 resource editor

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9995
Printed Date: 27 June 2025 at 2:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: using VC6 resource editor
Posted By: avi_a
Subject: using VC6 resource editor
Date Posted: 29 March 2008 at 4:55am
How can I edit resources that has more than 256 colors.
The VC6 posts an error message and does not open the toolbars.
Thanks for your help.



Replies:
Posted By: Simon HB9DRV
Date Posted: 29 March 2008 at 5:39am
Originally posted by avi_a avi_a wrote:

How can I edit resources that has more than 256 colors.
The VC6 posts an error message and does not open the toolbars.
Thanks for your help.
 
I use paint. The Toolbar's properties show the bitmap name, I usually create a new bitmap with a more sensible name and edit with Paint, save as 24-bit bitmap.
 
An alternative is to use XTPImageManager()->SetIcons() and provide alternate high-res bitmaps.


-------------
Simon HB9DRV


Posted By: avi_a
Date Posted: 30 March 2008 at 1:23am
Nice, but I can't edit the toolbar properties or add a new button because the MFC can't load it at all.


Posted By: mgampi
Date Posted: 31 March 2008 at 3:34am
Hi;
I maintain two bitmaps, one for  the VC6 resource editor to load the toolbar with only 256 colors and the final one loaded at runtime with hires colors.
If you don't like to add this additional 'step', you can edit your toolbar resource by opening the .rc file as plain text file (open as...). 


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net