Print Page | Close Window

Issue docking my panes in the desired layout

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=15474
Printed Date: 31 January 2025 at 5:46am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Issue docking my panes in the desired layout
Posted By: Picahulu
Subject: Issue docking my panes in the desired layout
Date 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.
 
 



Replies:
Posted By: Picahulu
Date 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.
 
:)



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