Print Page | Close Window

CXTPButton bitmap

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=12673
Printed Date: 18 May 2024 at 5:11am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPButton bitmap
Posted By: ibmldev
Subject: CXTPButton bitmap
Date 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?



Replies:
Posted By: Oleg
Date Posted: 13 November 2008 at 2:09pm
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



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