Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Issue docking my panes in the desired layout
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Issue docking my panes in the desired layout

 Post Reply Post Reply
Author
Message
Picahulu View Drop Down
Newbie
Newbie
Avatar

Joined: 03 July 2003
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Picahulu Quote  Post ReplyReply Direct Link To This Post Topic: Issue docking my panes in the desired layout
    Posted: 27 October 2009 at 12:26pm
Hi there,
 
i've created an image how the screen layout should be. There are 3 Docking Panes and 1 (non-dockable) Form View. Its no problem to drag the panes this way, but i'm not able to dock the panes like that automatically. I am using CPaneManager::CreatePane to specify where to dock the panes.
 
The problem is, when i dock DP3 right to DP1, its getting a vertical shape (instead of horizontal) and is put left of the FormView (should be above).
When i dock DP3 to the top of Screen, its using the whole screen width and is docked above of DP1 (should be right).
 
So... what can i do to dock DP3 right of DP1, but horizontal and above of the FormView?
Much appreciation for any helpful hints.
 
 
Back to Top
Picahulu View Drop Down
Newbie
Newbie
Avatar

Joined: 03 July 2003
Location: Germany
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote Picahulu Quote  Post ReplyReply Direct Link To This Post Posted: 27 October 2009 at 12:40pm
Oh, few minutes after writing i figured it out by myself :)
 
Maybe its helpful for any future readers: the trick is to first dock DP3 to the top of the screen and then dock DP1 to the left of the screen. Done.
 
:)
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.078 seconds.