![]() |
CXTButton bitmap (BMP) transparency |
Post Reply
|
| Author | |
thodgson
Groupie
Joined: 11 August 2003 Status: Offline Points: 78 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTButton bitmap (BMP) transparencyPosted: 26 October 2005 at 1:56pm |
|
Is there a way to specify the transparency color of a bitmap for an icon specified for a CXTButton? I've noticed that the color is determined by the color at pixel point 0,0 - maybe this is wrong but... |
|
|
Tim H(http://www.ExclamationSoft.com)
Product: Xtreme Toolkit v13.1 Platform: Vista(x64)-SP1 Language: Visual C++ 6.0 Currently: Satisfied w/ Toolkit |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 October 2005 at 7:02am |
|
There is no way :( Can suggest you manually convert it to icon and use SetIcon with hIcon parameter:
CImageList il; ASSERT(il.GetImageCount() == 1); il.ExtractIcon(0); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
thodgson
Groupie
Joined: 11 August 2003 Status: Offline Points: 78 |
Post Options
Thanks(0)
Quote Reply
Posted: 27 October 2005 at 9:00am |
![]() Okay, that will work. |
|
|
Tim H(http://www.ExclamationSoft.com)
Product: Xtreme Toolkit v13.1 Platform: Vista(x64)-SP1 Language: Visual C++ 6.0 Currently: Satisfied w/ Toolkit |
|
![]() |
|
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 |