exclude some window in Save/Restore Layout

Nov 3, 2011 at 8:08 AM

I wonder is there anyway I can specific which dockable content to be include or exclude in the layout.xml file?

I have a button that allow users to save their current layout at run time, 
but there are some windows that doesn't need to be include in the layout file (for example a confirm window)

Any idea how do I stop these windows from restoring?

And what exactly will happen if a window is closed when RestoreLayout?  
I know DeserializationCallback will be call, so if I didn't handle the callback,
will there any other action done by RestoreLayout?