Print Page | Close Window

How do I get this 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=9063
Printed Date: 04 May 2024 at 7:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How do I get this layout?
Posted By: znakeeye
Subject: How do I get this layout?
Date Posted: 10 December 2007 at 11:49am
---------------
|   Pane1   |
---------------
P |             |
a |             |
n |   View  |
e |             |
2 |             |
---------------
 
It seems impossible to do this programmatically. Any hints? This does NOT work:
 
m_paneManager.CreatePane(IDR_PANE1, rc1, xtpPaneDockTop);
m_paneManager.CreatePane(IDR_PANE2, rc2, xtpPaneDockLeft);



Replies:
Posted By: znakeeye
Date Posted: 10 December 2007 at 12:03pm
Sigh... too easy ;)
First create "left", then "top"... Thanks anyway :)


Posted By: Ark42
Date Posted: 10 December 2007 at 9:56pm
I don't remember the exact method, but it is possible to create the left pane2 2nd and have it docked as you want programmatically.  You just need to dock left of the client area with an extra parameter instead of docking left of the entire window which is default.



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