Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - CXTPDockingPaneBase size
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CXTPDockingPaneBase size

 Post Reply Post Reply
Author
Message
jansim View Drop Down
Groupie
Groupie


Joined: 03 November 2005
Location: Canada
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote jansim Quote  Post ReplyReply Direct Link To This Post Topic: CXTPDockingPaneBase size
    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
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 August 2006 at 4:18pm
Hi,
Try SetMinTrackSize/SetMaxTrackSize methods.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.032 seconds.