MDI Tab buttons colorising (Office 2003) |
Post Reply |
Author | |
eliasp
Newbie Joined: 28 April 2004 Location: Greece Status: Offline Points: 7 |
Post Options
Thanks(0)
Posted: 28 April 2004 at 3:50am |
Is there any way to prevent the docking manager when using the Office 2003 theme, of colorising with different color each time the MDI tab buttons ? Even better, is there any way of having Office 2003 docking style with XP style of MDI buttons ? Pppllleeeeaaasssseee... Or, how can we control the colors programmatically in the ActiveX version... ?? Using API perhaps ? (Need pointing to a direction) |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Yes, this is possible. Take a look at the TabManager sample.
You can just disable OneNote colors to make it stop using a different color for each tab. You must set AutoTheme to False if you are not changing these settings at runtime. CommandBars.TabWorkspace.AutoTheme = False CommandBars.TabWorkspace.PaintManager.OneNoteColors = False Add this if you want to change the appearnce of the tabs, you can change the properties to whatever style you like. CommandBars.TabWorkspace.PaintManager.Appearance = xtpTabAppearancePropertyPage CommandBars.TabWorkspace.PaintManager.Color = xtpTabColorOffice2003 You can mix and match appearances and themes, so you can have Office 2003 dockning pane tabs and XP style MDI buttons. Add this to change the docking pane buttons to the style you wish. DockingPaneManager.PanelPaintManager.xtpTabAppearancePropert yPage Hope this helps Edited by SuperMario |
|
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 |