![]() |
loading/saving CXTPDockingPaneLayout |
Post Reply ![]() |
Author | |
dmetzler ![]() Newbie ![]() Joined: 09 February 2004 Location: United States Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() Posted: 24 March 2004 at 11:44am |
I have created a docking pane layout and saved using the CXTPDockingPaneLayout::SaveToFile(), which generated an XML file. I thought this would preserve the pane layouts. If I then rearrange/undock/dock panes, I call CXTPDockingPaneLayout::LoadFromFile() but find the original saved layout is not restored. Should these methods restore a saved layout and preserve docking/floating status? Thanks, Don Metzler SISCOM, Inc. |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
After LoadFromFile you must call CXTPDocjkingPaneManager::SetLayout
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dmetzler ![]() Newbie ![]() Joined: 09 February 2004 Location: United States Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() |
Thanks - I will add that. Don |
|
![]() |
|
dmetzler ![]() Newbie ![]() Joined: 09 February 2004 Location: United States Status: Offline Points: 17 |
![]() ![]() ![]() ![]() ![]() |
Maybe I am not understanding what this call does. I create my layout of panes and their controls dynamically. I want to preserve the layout of the panes. When I call LoadFromFile(), I simply want to position my existing panes, not create new ones. Does CXTPDockingPaneLayout::LoadFromFile() create the panes or simply position the existing ones? Thanks, Don Metzler SISCOM, Inc. |
|
![]() |
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 |