xtpPaneThemeOffice2007 broken |
Post Reply |
Author | |
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
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.
|
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
hmmm
looks to be because
XTPOffice2007Images()->IsValid()
returns false in
CXTPTabPaintManager::CAppearanceSetPropertyPage2007::FillTabControl
how to get these images and files etc configured correctly?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Add line in your rc2 file:
#include "Styles\Office2007Blue\Office2007Blue.rc"
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
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?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
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 :)
|
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
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.
|
|
adrien
Senior Member Joined: 30 April 2007 Location: New Zealand Status: Offline Points: 449 |
Post Options
Thanks(0)
|
For another example, take CXTCaption
there's no Office2007 theme for this, so I've got this sexy black GUI, with a blue caption.
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
adrien, I solved that sexiness problem by putting all my windows inside panes. Looks great in all modes :)
|
|
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 |