Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Stopping Resizing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Stopping Resizing

 Post Reply Post Reply
Author
Message
gibbo View Drop Down
Groupie
Groupie
Avatar

Joined: 04 January 2007
Location: United Kingdom
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibbo Quote  Post ReplyReply Direct Link To This Post Topic: Stopping Resizing
    Posted: 09 March 2007 at 4:07am
Hi,
Is there anyway to stop the panels resizing once they have been docked?
 
Thanks
 
Gibbo
Back to Top
gibbo View Drop Down
Groupie
Groupie
Avatar

Joined: 04 January 2007
Location: United Kingdom
Status: Offline
Points: 47
Post Options Post Options   Thanks (0) Thanks(0)   Quote gibbo Quote  Post ReplyReply Direct Link To This Post 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
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.156 seconds.