Print Page | Close Window

Pane Layout persistence problem

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=4224
Printed Date: 12 December 2024 at 5:35am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Pane Layout persistence problem
Posted By: akur
Subject: Pane Layout persistence problem
Date 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!




Replies:
Posted By: Oleg
Date 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


Posted By: akur
Date 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.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net