Print Page | Close Window

Stopping Resizing

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


Topic: Stopping Resizing
Posted By: gibbo
Subject: Stopping Resizing
Date Posted: 09 March 2007 at 4:07am
Hi,
Is there anyway to stop the panels resizing once they have been docked?
 
Thanks
 


-------------
Gibbo



Replies:
Posted By: gibbo
Date Posted: 12 March 2007 at 12:03pm
Hi,
Been reading some of the other posts..  And Noticed that using
 
SetMinTrackSize(CSize(200,50));
SetMaxTrackSize(CSize(200,50));
 
Will stop the panes from resizing.  The problem is that I have a pane on the left and on the right going from top to bottom.  Then another a pane at the bottom, between the left and right panels.. 
 
The SetMinTrackSize/SetMaxTrackSize works for the Left and Right panes, but this doesn't help for the bottom pane..  Unless when the parent window is resized, I recalculate the width for the bottom pane.
 
Any ideas?


-------------
Gibbo



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