Large Icons displaying small pictures... |
Post Reply |
Author | |
ddlittle
Senior Member Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
Post Options
Thanks(0)
Posted: 24 March 2005 at 5:02pm |
Anybody know why (or how) one of my toolbars won't show the 32x32 bitmaps I have. It insists on drawing 16x16 no matter what. SetIcons() for its equivalent buttons doesn't work, either. I can't seem to find any difference between it and any other toolbar. Help! Thanks... - David |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Please attach all code you have with it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ddlittle
Senior Member Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
Post Options
Thanks(0)
|
I finally figured out what was wrong. The problem was that the buttons on that particular toolbar (and a couple of others) was defined as being 17x16 pixels. When I went in the resource file and changed the numbers to 16,16, everything magically worked. Of course, I had to go and adjust the bitmap buttons, but that's no big deal because I'm loading all of my buttons from a .DLL now anyway. The code was just:
So that wasn't the problem. Just a weird sized button. I would label this as "Not a bug, behavior by design". Thanks! - David |
|
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 |