Print Page | Close Window

dockingpane betweem comandbar and statusbar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Task Panel
Forum Description: Topics Related to Codejock Task Panel
URL: http://forum.codejock.com/forum_posts.asp?TID=5092
Printed Date: 21 November 2024 at 2:40pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: dockingpane betweem comandbar and statusbar
Posted By: JohnZing
Subject: dockingpane betweem comandbar and statusbar
Date 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?





Replies:
Posted By: SuperMario
Date 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


Posted By: JohnZing
Date Posted: 19 September 2006 at 3:10pm
Thank You!
works now. "send to back" did the job :)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net