CXTPButton bitmap |
Post Reply |
Author | |
ibmldev
Groupie Joined: 17 October 2006 Status: Offline Points: 19 |
Post Options
Thanks(0)
Posted: 13 November 2008 at 11:08am |
How is the CSize parameter to be used in CXTPButton::SetBitmap() ?
I hoped that it would resize the bitmap passed in to this size, but that is apparently not the case. It seems to ignore the size passed and uses the size of the bitmap itself no matter what. Is there a way to have CXTPButton force the bitmap to be resized to what I want, or do I really need to create another bitmap resource with a different size? Why then does this parameter exist? |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
this parameter only helps to determine what icon to load if you have more than one icon for same ID. You need manually stretch bitmap.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |