![]() |
CXTPDockingPaneBase size |
Post Reply
|
| Author | |
jansim
Groupie
Joined: 03 November 2005 Location: Canada Status: Offline Points: 20 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPDockingPaneBase sizePosted: 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
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 August 2006 at 4:18pm |
|
Hi,
Try SetMinTrackSize/SetMaxTrackSize methods.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
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 |