Print Page | Close Window

Half size docking

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4444
Printed Date: 10 November 2025 at 5:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Half size docking
Posted By: douglashogan
Subject: Half size docking
Date Posted: 20 June 2006 at 8:56am

Hi,

I have 2 docking panes, i would like them to share the same side of the main window, but with one pane taking the top half and the other taking the bottom half. Is this possible programatically without having to use the mouse....

 



-------------
Regards
Douglas Hogan



Replies:
Posted By: hipopotamo
Date Posted: 20 June 2006 at 2:07pm
Hi
 
Use the last argument of the CreatePane function.
 
 
toppane = CXTPDockingPaneManager::CreatePane( id1, CRect( 0, 0, wpane,  hpane  ), xtpPaneDockLef  );
 
bottompane = CXTPDockingPaneManager::CreatePane( id2, CRect( 0, 0, wpane,  hpane  ), xtpPaneDockLef, toppane );



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