![]() |
setting a bitmap handle to a CXTButton |
Post Reply
|
| Author | |
winxp
Newbie
Joined: 28 October 2003 Location: Israel Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: setting a bitmap handle to a CXTButtonPosted: 03 July 2005 at 8:33am |
|
hi, is there a way to set the CXTButton bitmap from a handle ( HBITMAP ) ? thanks |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 July 2005 at 11:07pm |
|
try this: HICON hIcon = CXTPTransparentBitmap(bmpIcon).ConvertToIcon(); BOOL bResult = CXTButton::SetIcon(size, hIcon, NULL, bRedraw); DestroyIcon(hIcon); |
|
|
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 |