Print Page | Close Window

CXTPButton with HBITMAP

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=22132
Printed Date: 17 June 2025 at 11:04am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPButton with HBITMAP
Posted By: yoavo
Subject: CXTPButton with HBITMAP
Date Posted: 16 December 2013 at 2:21am
Hi,
How can I set an HBITMAP to a CXTPButton ?
(The method SetBitmap of CXTPButton recieves only resource id of the bitmap...)

Thanks,
Yoav.



Replies:
Posted By: dleibold
Date Posted: 16 December 2013 at 11:54am
Perhaps use SetIcon(), after converting HBITMAP to HICON ?

Topic: HBITMAP to HICON
http://forum.codejock.com/forum_posts.asp?TID=9245" rel="nofollow - http://forum.codejock.com/forum_posts.asp?TID=9245




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