Print Page | Close Window

[Closed] Initial Positions

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=6497
Printed Date: 12 December 2024 at 11:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Closed] Initial Positions
Posted By: Simon HB9DRV
Subject: [Closed] Initial Positions
Date Posted: 23 February 2007 at 4:26am
Hi,
 
How do I set the initial position of two panes (3, 5) as shown below?

Is it possible to assign 40% of available with to pane 3 and 60% to pane 5?

TIA, Simon
 


-------------
Simon HB9DRV



Replies:
Posted By: Simon HB9DRV
Date Posted: 24 February 2007 at 1:47pm
I've worked with this sample and cannot for the life of me work out how to do this - so...

HELP  !!!


-------------
Simon HB9DRV


Posted By: Oleg
Date Posted: 25 February 2007 at 1:17am
Hi,
 
Just set initial sizes of panes.
 
 CXTPDockingPane* pwndPane1 = m_paneManager.CreatePane(
  IDR_PANE1, CRect(0, 0,600, 120), xtpPaneDockBottom);
 m_paneManager.CreatePane(
  IDR_PANE2, CRect(0, 0,400, 120), xtpPaneDockLeft, pwndPane1);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Simon HB9DRV
Date Posted: 25 February 2007 at 3:22am
Originally posted by oleg oleg wrote:

Hi,
 
Just set initial sizes of panes.
 
 CXTPDockingPane* pwndPane1 = m_paneManager.CreatePane(
  IDR_PANE1, CRect(0, 0,600, 120), xtpPaneDockBottom);
 m_paneManager.CreatePane(
  IDR_PANE2, CRect(0, 0,400, 120), xtpPaneDockLeft, pwndPane1);
Thanks - I just worked this out myself! Reading the documentation is one thing; understanding it another.
 
Again, many thanks for a brilliant product.


-------------
Simon HB9DRV



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