Print Page | Close Window

High Contrast 1,2,3 theme and Ribbon Bar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=17993
Printed Date: 24 November 2024 at 5:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: High Contrast 1,2,3 theme and Ribbon Bar
Posted By: aggressor
Subject: High Contrast 1,2,3 theme and Ribbon Bar
Date 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.



Replies:
Posted By: Oleg
Date 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


Posted By: aggressor
Date 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.


Posted By: Oleg
Date 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



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