![]() |
Prevent Pane resizing |
Post Reply
|
| Author | |
yoavo
Senior Member
Joined: 29 February 2004 Location: Israel Status: Offline Points: 140 |
Post Options
Thanks(0)
Quote Reply
Topic: Prevent Pane resizingPosted: 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.
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |