Print Page | Close Window

xtpPaneThemeOffice2007 broken

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=9674
Printed Date: 27 September 2024 at 2:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: xtpPaneThemeOffice2007 broken
Posted By: adrien
Subject: xtpPaneThemeOffice2007 broken
Date Posted: 23 February 2008 at 10:07am
When I use
 
 m_paneManager.SetTheme(xtpPaneThemeOffice2007);
 
then it doesn't show the tabs on the pans that are like a tab control.
 
All other themes works fine.  You still get the tooltips, you can still click (if you know where) but no labels and no tab outlines etc, just the grey background.
 




Replies:
Posted By: adrien
Date Posted: 23 February 2008 at 10:19am
hmmm
 
looks to be because
 
XTPOffice2007Images()->IsValid()
 
returns false in
 
CXTPTabPaintManager::CAppearanceSetPropertyPage2007::FillTabControl
 
how to get these images and files etc configured correctly?


Posted By: Oleg
Date Posted: 23 February 2008 at 10:24am
Hi,
 
Add line in your rc2 file:
 
#include "Styles\Office2007Blue\Office2007Blue.rc"
 
 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: adrien
Date Posted: 24 February 2008 at 12:29am
OK, thanks for that.  it works now.
 
How do you get Office2007 theme to mirror the selected Luna theme though?  It stays blue all the time... I see there are other themes, do you need to manually change the theme?  It tracks the OS when you choose Office2003 themes... why not for Office 2007 theme?


Posted By: Oleg
Date Posted: 24 February 2008 at 3:06am
Hi,
its the thing of Office2007 products and our Office2007 theme - its always blue/black or silver in all OS.  If you don't like it just don't use this theme.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: adrien
Date Posted: 24 February 2008 at 3:40pm
OK, I understand thanks for that.  It's a shame, since the Office2007 theme for things like docking pane tab headers is much nicer than the Office 2003 theme etc.
 
You might want to look at CXTPReportControl then, since its header does change colour when set to Office2007 theme.
 
How about an option where we can tell the theme to mirror the OS setting :)


Posted By: adrien
Date Posted: 24 February 2008 at 3:42pm
the reason it's a problem also, is that unless you have all controls everywhere set to use the Office2007 theme, when you change system colour themes (i.e. Luna themes on XP), then some parts of the app change colour and others don't, you can end up with a real mixture of colours which is a bit ugly.
 
for us, since we are using modules to provide different parts of the GUI, it's even more difficult, since all different modules would need to be told if the user were to select a different colour scheme.


Posted By: adrien
Date Posted: 24 February 2008 at 6:20pm
For another example, take CXTCaption
 
there's no Office2007 theme for this, so I've got this sexy black GUI, with a blue caption.


Posted By: znakeeye
Date Posted: 04 March 2008 at 2:38am
adrien, I solved that sexiness problem by putting all my windows inside panes. Looks great in all modes :)



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