How to fit frame parent in mainframe |
Post Reply |
Author | |
MichaelN
Senior Member Joined: 19 September 2006 Status: Offline Points: 112 |
Post Options
Thanks(0)
Posted: 12 February 2012 at 2:13pm |
When the parent frame opens with panes, its size is not adjusted to fit inside the mainframe. I can't figure out how to do this. I tried calling the standard CView methods GetParentFrame()->RecalcLayout() and ResizeParentToFit(), without success. Then I added CXTPDockingPaneManager::RecalcFrameLayout() at the end of the view's OnInitialUpdate() and that didn't appear to do anything either. Maybe there is a different place to call this or a different way to have the frame fit itself inside the mainframe. Any ideas?
Michael
|
|
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 |