Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Programmatically resizing a docking pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Programmatically resizing a docking pane

 Post Reply Post Reply
Author
Message Reverse Sort Order
joep View Drop Down
Groupie
Groupie


Joined: 18 February 2004
Location: Netherlands
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote joep Quote  Post ReplyReply Direct Link To This Post Topic: Programmatically resizing a docking pane
    Posted: 15 September 2011 at 7:52am
I found that I can use CXTPDockingPane::SetMinTrackSize() for this and after that call CXTPDockingPaneManager::RecalcFramesLayout() to resize the pane.
However, when I subsequently save the layout and reload it at program start with SetLayout(), the resizing is not remembered as all other layout properties are.
 
What do I have to do after RecalcFramesLayout() to get this persistent?
Back to Top
joep View Drop Down
Groupie
Groupie


Joined: 18 February 2004
Location: Netherlands
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote joep Quote  Post ReplyReply Direct Link To This Post Posted: 14 September 2011 at 10:48am
Depending on the (dynamic) content of a docking pane I would like to programmatically change the pane size. Does anyone have tips for this?
Regards, Joep
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.172 seconds.