Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPButton bitmap
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPButton bitmap

 Post Reply Post Reply
Author
Message
ibmldev View Drop Down
Groupie
Groupie


Joined: 17 October 2006
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote ibmldev Quote  Post ReplyReply Direct Link To This Post Topic: CXTPButton bitmap
    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?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.142 seconds.