Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - refresh after style change
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

refresh after style change

 Post Reply Post Reply
Author
Message
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Topic: refresh after style change
    Posted: 04 January 2007 at 11:35pm
use the sample commandbars ribbon with code to change from blue to aqua or black but include a dockingpane1 control with office 2007 style than change the style in the executable
 
bug on the refresh client part and dockingpane also
 
Back to Top
gaudetm View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 September 2006
Location: Canada
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote gaudetm Quote  Post ReplyReply Direct Link To This Post Posted: 04 January 2007 at 11:37pm
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 05 January 2007 at 2:28am

Hi,

Here code you can use
 
     Case ID_OPTIONS_STYLEBLACK:

            DockingPaneGlobalSettings.Office2007Images = App.Path & "\Styles\Office2007Black.dll"
            DockingPane1.PaintManager.CaptionMargin = DockingPane1.PaintManager.CaptionMargin ' to refresh metrics
            DockingPane1.RedrawPanes
...
 
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.156 seconds.