Print Page | Close Window

CXTPButton pressed states on Windows 11

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=24318
Printed Date: 15 May 2024 at 12:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPButton pressed states on Windows 11
Posted By: rdhd
Subject: CXTPButton pressed states on Windows 11
Date Posted: 18 August 2022 at 4:13pm
Customers are complaining when they run our app on Windows 11 about buttonns when they are in the pressed state. One can hardly tell they are pressed. I found CXTPButton uses uxtheme::DrawThemeBackground with BP_PUSHBUTTON and PBS_PRESSED. This has worked fine everywhere else but on Windows 11, I am seeing something like (249,249,249) when pressed and (253,253,253) when pressed.

I generated a simple MFC app and put a button on the About dialog to test and the results are the same. Has anyone found a way to get a color to draw so a user can actually tell when a button is pressed on Windows 11?



Replies:
Posted By: rdhd
Date Posted: 10 October 2022 at 12:24pm
I sent a request to Microsoft and they have replied that this issue will be addressed on two upcoming Win 11 updates. No news on when though.



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