Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Task Panel
  New Posts New Posts RSS Feed - dockingpane betweem comandbar and statusbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

dockingpane betweem comandbar and statusbar

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


Joined: 19 September 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote JohnZing Quote  Post ReplyReply Direct Link To This Post Topic: dockingpane betweem comandbar and statusbar
    Posted: 19 September 2006 at 2:58pm
I dont know Why this does not work... I guess is very simple

Trying to add a dockingpane betweem comandbar and statusbar. I use a MDI form.

If i use
Set C = DockingPaneManager.CreatePane(1, 200, 120, DockBottomOf, Nothing)

DockingPane goes below statusbar

if i use
Set C = DockingPaneManager.CreatePane(1, 200, 120, DockTopOf, Nothing)

Docking pane stays on top of command bar

if i use DockLeftOf, dockingpane uses all MDI height.

I just want Docking Pane to use the free space between command bar and status bar and aligned left... how can I do that?


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: 19 September 2006 at 3:00pm
See this:
http://www.codejock.com/support/articles/com/dockingpane/dp_3.asp

and add this too:

Private Sub CommandBars_GetClientBordersWidth(Left As Long, Top As Long, Right As Long, Bottom As Long)
    
    If sbStatusBar.Visible Then
        Bottom = sbStatusBar.Height
    End If

End Sub
Back to Top
JohnZing View Drop Down
Newbie
Newbie


Joined: 19 September 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote JohnZing Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 3:10pm
Thank You!
works now. "send to back" did the job :)
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.188 seconds.