![]() |
how to save dynamic panes. |
Post Reply ![]() |
Author | |
jshan ![]() Groupie ![]() ![]() Joined: 07 December 2007 Status: Offline Points: 63 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
jshan ![]() Groupie ![]() ![]() Joined: 07 December 2007 Status: Offline Points: 63 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
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 |