![]() |
using VC6 resource editor |
Post Reply
|
| Author | |
avi_a
Newbie
Joined: 29 March 2008 Location: Israel Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
Topic: using VC6 resource editorPosted: 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.
|
|
![]() |
|
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 March 2008 at 5:39am |
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
|
|
![]() |
|
avi_a
Newbie
Joined: 29 March 2008 Location: Israel Status: Offline Points: 2 |
Post Options
Thanks(0)
Quote Reply
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.
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |