Programmatically resizing a docking pane |
Post Reply |
Author | |
joep
Groupie Joined: 18 February 2004 Location: Netherlands Status: Offline Points: 12 |
Post Options
Thanks(0)
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
|
|
joep
Groupie Joined: 18 February 2004 Location: Netherlands Status: Offline Points: 12 |
Post Options
Thanks(0)
|
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?
|
|
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 |