Print Page | Close Window

how to save dynamic panes.

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=13634
Printed Date: 13 May 2025 at 7:01am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to save dynamic panes.
Posted By: jshan
Subject: how to save dynamic panes.
Date Posted: 10 March 2009 at 7:17am

Hi,

I just looked over the dynamic.pane sample.
But, i cann't find the way to save those panes correctly which are dynamically maden.
I mean saving layout.
 
Seems. I need to hack the CXTPDockingPaneLayout class though,
Is there any simple solution for saving layout for dynamic custom panes ?
I edited "DynamicPanes" sample to save layout and loaded it.
and then I got just panes without any views.
 
Edited "DynamicPanes" with saving and loading layout would be very appreciated.
 
Regards.
 


-------------
: xtp 16.2.0(Unicode static lib)

: windows 7 Pro Kor sp1(64bit)

: vs 2012 update 2 MFC




Replies:
Posted By: jshan
Date Posted: 10 March 2009 at 9:04am
Using CXTPDockingPaneInfoList *pList = &m_paneManager.GetPaneList();
and then, recheck whole panes with it's ID
and recreate custom view and attach.
for this ID handlings, needed to categorize the panes.
anyway, seems it's ok now.
 
better way always welcome.
 


-------------
: xtp 16.2.0(Unicode static lib)

: windows 7 Pro Kor sp1(64bit)

: vs 2012 update 2 MFC




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