Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - MDI Tab buttons colorising (Office 2003)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MDI Tab buttons colorising (Office 2003)

 Post Reply Post Reply
Author
Message
eliasp View Drop Down
Newbie
Newbie


Joined: 28 April 2004
Location: Greece
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote eliasp Quote  Post ReplyReply Direct Link To This Post Topic: MDI Tab buttons colorising (Office 2003)
    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)

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 28 April 2004 at 6:56am
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
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.176 seconds.