HOWTO: Use CXTPDockingPaneLayout::SaveTonode? |
Post Reply |
Author | |
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
Posted: 05 December 2011 at 6:34pm |
Any sample?
I don't know how to get the 'Node' parameter. I want to use this function to store the layout to a distinct child node of an XML file! |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
altair
Newbie Joined: 26 June 2013 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Hi I'm also interested to know this. Any answers so far?
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
No!
Neither from support nor from any forum member... |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
rdhd
Senior Member Joined: 13 August 2007 Location: United States Status: Offline Points: 891 |
Post Options
Thanks(0)
|
Don't know if this helps but we save docking pane layouts to our own xml document. We use something like this:
const TCHAR _xtRootSection[] = _T("DockingPaneLayouts"); CXTPPropExchangeXMLNode px(FALSE, 0, _xtRootSection); . . . px.LoadFromFile(LPCTSTR(CustomizationFileName)); . . . CXTPPropExchangeSection pxSection(px.GetSection(LPCTSTR(strLayout))); layout.DoPropExchange(&pxSection); The "strLayout" is there because we are an MDI application and we have different document types and even different environments (UI layout - ribbon, qat, panes etc.) for each document type. That is, it is just a different node in our xml document. "layout" is CXTPDockingPaneLayout object we get from the pane manager. I have not stepped thru the CJ code. It might make its way to the SaveToNode API you mention. |
|
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 |