Print Page | Close Window

CXTPDockingPaneBase size

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=4824
Printed Date: 11 November 2025 at 2:41am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: CXTPDockingPaneBase size
Posted By: jansim
Subject: CXTPDockingPaneBase size
Date Posted: 17 August 2006 at 3:06pm
What is the best way to ensure that the client area of any kind of pane is at least a given size?
ex : pMyPane->EnsureClientArea( CPoint( 200, 200 ) );
 
And is it possible to set the size one time so that if the pane is floated/docked/splitted/autoshown, it would have all that size?
 
I tried to analyse the layout of my pane to know whether it was a mini window, a splitted container, a tabbed container, an auto hide panel. It is very hard to understand which window I have to resize.
 
I managed to make it work on some cases, but on others, it seems I cant hook at the right time, or that the pane does not offer any sizing method.
 
Any clue?
 
Jansim



Replies:
Posted By: Oleg
Date Posted: 17 August 2006 at 4:18pm
Hi,
Try SetMinTrackSize/SetMaxTrackSize methods.


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



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