Print Page | Close Window

AutoHide Pane

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=762
Printed Date: 11 December 2024 at 6:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AutoHide Pane
Posted By: davidbut
Subject: AutoHide Pane
Date Posted: 20 May 2004 at 7:01am

I have a problem with saving and restoring the pane layout when one of the panes is auto-hidden. I let the user create as many panes as they want, each with a view onto the data. When the program starts up, I do not create any panes, I just have the standard MFC view. I load the layout. The view is created and attached in the XTP_DPN_SHOWWINDOW OnDockingPaneNotify handler. This works fine unless any of the panes was auto-hidden, it crashes in CXTPDockingPaneBase::GetDockingPaneManager, the "this" pointer is invalid.

Is there a way around this?

Regards,

David




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