Fixed Docking Pane |
Post Reply |
Author | |
stuc
Groupie Joined: 05 May 2011 Status: Offline Points: 20 |
Post Options
Thanks(0)
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 |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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 |
|
stuc
Groupie Joined: 05 May 2011 Status: Offline Points: 20 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |