Image background on tab control is no transparent |
Post Reply |
Author | |
fleg
Groupie Joined: 11 July 2012 Status: Offline Points: 46 |
Post Options
Thanks(0)
Posted: 19 April 2018 at 7:39am |
Hi, When using icons on tab control CTabCtrl, the icon is no longer transparent (tried using several styles). with Toolkitpro 17.3 Now with Toolkitpro 18.3 Workaround is to replace the class CTabCtrl by CXTPTabCtrl, but it should continue working without code changes. |
|
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 891 |
Post Options
Thanks(1)
|
Perhaps this is a "first pixel" is the transparent color issue? We fight this all the time. I think CJ lets you set the transparent pixel color, though it might be a "global" setting. Find the CJ code that gets the first pixel and see if it changes for some reason. We have been moving all our images to PNG to get away from a lot of these types of issues. Even before we moved to CJ we would have issues, especially in the days when bitmaps had color tables because they are not 32 bits. In some cases, we use WIC to convert images to PNG. But even then, you have to get the parameters to the calls correct. But hey, at least the background isn't black (our most common historical issue).
|
|
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 |