Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - High Contrast 1,2,3 theme and Ribbon Bar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

High Contrast 1,2,3 theme and Ribbon Bar

 Post Reply Post Reply
Author
Message
aggressor View Drop Down
Groupie
Groupie


Joined: 15 August 2007
Location: United States
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote aggressor Quote  Post ReplyReply Direct Link To This Post Topic: High Contrast 1,2,3 theme and Ribbon Bar
    Posted: 03 March 2011 at 12:45pm
Hi,

Our application have a ribbon bar and some of our clients started to complain that our application is not compatible with High Contrast 1,2,3 windows themes for disabled ppl. Is there a support fot such theming? Other controls behave correctly but ribbon bar is not.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2011 at 6:36am
Hello,

Yes, we have "System" theme that will look better for High Contrast mode. 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
aggressor View Drop Down
Groupie
Groupie


Joined: 15 August 2007
Location: United States
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote aggressor Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2011 at 7:55am
Hi,

Great. May I ask you to post some code snippet how we can enabled that "System" theme.

Thank you.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 04 March 2011 at 8:20am
Hi,

Our RibbonSample show it. (please check void CMainFrame::OnOptionsSystem())

all you need is  GetCommandBars()->SetTheme(xtpThemeOfficeXP);

not sure about version you have, but if you won't find OnOptionsSystem in sample, you will need update.

Thanks

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.