Print Page | Close Window

Fixed Docking Pane

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=18646
Printed Date: 04 May 2024 at 2:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Fixed Docking Pane
Posted By: stuc
Subject: Fixed Docking Pane
Date Posted: 12 July 2011 at 8:16am


I have created a "fixed pane" the full width of the mdi window.

I have another 2 panes below it.

How can I stop the 2 below being docked with the top of the screen - thus appearing above the "fixed pane"




update:  ive tried putting a picture (align to top) in the mdi window - which works but doing this wipes out my menu created with the commandbar ocx)

/Stu



Replies:
Posted By: SuperMario
Date Posted: 12 July 2011 at 9:39am
If you use aligned controls then you need:

Private Sub CommandBars_RepositionAlignedControls(Left As Long, Top As Long, Right As Long, Bottom As Long)

If (picBox.Visible) Then
    CommandBars.MoveAlignedControl picBox, Left, Top, Right, Bottom
End If

End Sub



Posted By: stuc
Date Posted: 13 July 2011 at 4:11am
Thanks for the info.

I have actually found that if I put the command bar control inside of the picturebox it solves my problem with a fixed picture at the top of the screen. 



I have now got a picture box aligned at the top of the screen



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