Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - Pane Client Area
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Pane Client Area

 Post Reply Post Reply
Author
Message
ianp View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 19 December 2003
Location: United Kingdom
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote ianp Quote  Post ReplyReply Direct Link To This Post Topic: Pane Client Area
    Posted: 24 January 2005 at 4:43pm

Is there any way of changing the positioning of the window/control attached to a pane?

I would like my forms and pictureboxes to be displayed in my panes with a 50 px border/padding between the pane borders and their border.

TabPaintManager.ClientMargin.SetRect 50, 50, 50, 50 only works if more than one pane are docked together as neighbours

PanelPaintManager.ClientMargin.SetRect 50, 50, 50, 50 doesn't affect the Panes Client area

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: 25 January 2005 at 7:28am
PanelPaintManager is for the Auto-hide Tabs.

Client area is only effected when tab is present, in next version you can add:

'Shows tab when only you pane in group
DockingPaneManager.PaintManager.DrawSingleTab = True

Meanwhile, take a look at the Form_Resize event of the frmPaneSeach form in the Office 2003 sample for a work around.


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.125 seconds.