Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - how to save dynamic panes.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to save dynamic panes.

 Post Reply Post Reply
Author
Message
jshan View Drop Down
Groupie
Groupie
Avatar

Joined: 07 December 2007
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote jshan Quote  Post ReplyReply Direct Link To This Post Topic: how to save dynamic panes.
    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

Back to Top
jshan View Drop Down
Groupie
Groupie
Avatar

Joined: 07 December 2007
Status: Offline
Points: 63
Post Options Post Options   Thanks (0) Thanks(0)   Quote jshan Quote  Post ReplyReply Direct Link To This Post 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

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.141 seconds.