Print Page | Close Window

CXTPButton and PNG in disabled mode

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=22971
Printed Date: 24 December 2024 at 12:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPButton and PNG in disabled mode
Posted By: gpm1
Subject: CXTPButton and PNG in disabled mode
Date Posted: 22 March 2016 at 1:17pm
Hello,

CXTPButton and m_Disabled.SetIcon(CSize(16, 16), imageList.ExtractIcon(0)); where image list is created from PNG 32 bit and alpha channel in disabled mode shows black area in transparent area.

http://myscreenshot.info/i/0006/615401458666978270222927026164.png" rel="nofollow - http://myscreenshot.info/i/0006/615401458666978270222927026164.png




-------------
Product: Xtreme ToolkitPro (MFC) version 16.3.1/17.1.0-20.3.0
Platform: Windows 10 (64bit)
Language: Visual C++ 2008/2013/2015/2019/2022



Replies:
Posted By: gpm1
Date Posted: 22 March 2016 at 1:20pm
In enabled state it's Ok
http://myscreenshot.info/i/0006/477111458667168382331970316783.png" rel="nofollow - http://myscreenshot.info/i/0006/477111458667168382331970316783.png


-------------
Product: Xtreme ToolkitPro (MFC) version 16.3.1/17.1.0-20.3.0
Platform: Windows 10 (64bit)
Language: Visual C++ 2008/2013/2015/2019/2022



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