Print Page | Close Window

Prevent Pane resizing

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=6538
Printed Date: 12 November 2025 at 9:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Prevent Pane resizing
Posted By: yoavo
Subject: Prevent Pane resizing
Date Posted: 01 March 2007 at 10:09am
Hi,
In my application I have a pane, which in certain mode can not be docked (float only). I want to prevent the pane resizing.
How can I do it ?
 
Yoav.



Replies:
Posted By: mgampi
Date Posted: 01 March 2007 at 5:56pm
Hi;
try calling
pPane->SetMinTrackSize(CSize(100, 200));
pPane->SetMaxTrackSize(CSize(100, 200));
 
This should prevent the pane from being resizable.


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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