Backstage controls and OnCtlColor |
Post Reply |
Author | |
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 886 |
Post Options
Thanks(0)
Posted: 21 January 2020 at 12:23pm |
The CXTPRibbonBackstagePage::OnCtlColor sets the text color. We have some checkboxes on such a page but the text color doesn't change when we change the theme. I have had to call SetWindowTheme to turn off the window theme. But, our check boxes then look old. We use backstage labels and buttons. But, I don't see a way to make a backstage button a check button. And, I can't use a CXTPControlCheckBox since it is not a CWnd. I make sure theme changes are applied by calling SetTheme on those controls. How would I go about getting a checkbox that reacts to theme changes on a backstage page? Am I missing something regarding the backstage button class that would make it a check button?
|
|
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 |