Print Page | Close Window

CXTButton Colors

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Visual C++ MFC
Forum Description: Topics related to Codejock Visual C++ MFC products
URL: http://forum.codejock.com/forum_posts.asp?TID=14961
Printed Date: 14 May 2024 at 9:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTButton Colors
Posted By: dbrody
Subject: CXTButton Colors
Date Posted: 12 August 2009 at 10:45pm
We are using CXTButton control with an XButtonStyle of BS_XT_WINXP_COMPAT.  We are trying to change the color of the highlight mode and color of the button, but the setbuttoncolor and setbuttonhighlight doesn't seem to work.  Any recommendations?

Dave



Replies:
Posted By: Oleg
Date Posted: 13 August 2009 at 1:43am
Hi,
With BS_XT_WINXP_COMPAT Windows default theme is used and you can't change these options.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: dbrody
Date Posted: 14 August 2009 at 9:33pm
How can 3D style buttons be created with custom colors then?



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