CXTPButton pressed states on Windows 11 |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 891 |
Post Options
Thanks(0)
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?
|
|
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 891 |
Post Options
Thanks(0)
|
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.
|
|
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 |