Posted 19 years ago
by Erik Pepping
-
RADVenture B.V

Hi,
I have an application with multiple toolwindows. The user modifies the layout a bit, moves some and closes some of the toolwindows. When closing the UI this layout needs to be saved.
When loading, the toolwindows will be created in a random order by the application. At that point I would like to restore the layout of a toolwindow. If a previous parent is not present, I would like to match the old docking as good as possible. (actually the vs.net behavior)
What would be a good pattern for this? The basic loading to/from xml file mechanism is not usable for this kind of scenario because it wants to create new toolwindows for the ones that are not created yet.
Regards,
Erik
[Modified at 02/20/2006 05:49 AM]
I have an application with multiple toolwindows. The user modifies the layout a bit, moves some and closes some of the toolwindows. When closing the UI this layout needs to be saved.
When loading, the toolwindows will be created in a random order by the application. At that point I would like to restore the layout of a toolwindow. If a previous parent is not present, I would like to match the old docking as good as possible. (actually the vs.net behavior)
What would be a good pattern for this? The basic loading to/from xml file mechanism is not usable for this kind of scenario because it wants to create new toolwindows for the ones that are not created yet.
Regards,
Erik
[Modified at 02/20/2006 05:49 AM]