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

Pane Layout persistence problem

 Post Reply Post Reply
Author
Message
akur View Drop Down
Senior Member
Senior Member


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post Topic: Pane Layout persistence problem
    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!

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 May 2006 at 11:20am

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
Back to Top
akur View Drop Down
Senior Member
Senior Member


Joined: 16 May 2006
Status: Offline
Points: 139
Post Options Post Options   Thanks (0) Thanks(0)   Quote akur Quote  Post ReplyReply Direct Link To This Post Posted: 25 May 2006 at 4:45am
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.
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.