Pane Layout persistence problem |
Post Reply |
Author | |
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
Posted: 16 May 2006 at 11:21am |
Hello,
I've got a single pane in my MFC app and a saved layout where this pane is closed. If I load this layout when the pane is open, everything goes OK -> the pane gets closed. But when I load the same layout again (with my pane being closed already), then the child window (content) of that pane shows up suddenly (without any miniframe!), and it is attached and positioned directly to my mainframe window. It seems to me like if loading that layout the 2nd time would detach the child window from my pane, to attach it to the parent of DockingPaneManager. Is this possible? Does anyone you have an idea why is that? Thanks for any suggestions, in advance! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hello, I sure, it must hide it. Set breakpoint in CXTPDockingPane::Detach() and check that it called after you set layout again. May be you have too old version...
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
akur
Senior Member Joined: 16 May 2006 Status: Offline Points: 139 |
Post Options
Thanks(0)
|
Hello,
you're right, Xtreme Toolkit hides it indeed - the problem was caused by some legacy code inside the child window's code. Thank you. |
|
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 |