Posted 16 years ago
by Dong JIA
Hi all,
When LoadToolWindowLayoutFromFile(), if WindowLayoutFile contains some unknown toolwindow layout data(e.g.: an add-in create a toolwindow and its layout data has been saved into WindowLayoutFile. After that I remove the add-in), UI studio will show a blank toolwindow without anything.
How can I remove the blank toolwindow?
I have try to close the TabbedMdiWindow in DockManager.WindowInitializing, but it doesn't work.
From my opion, I hope there is a way to make me can filter out some GUID from layoutdata file.
Thanks in advance.
BR,
Dong
[Modified at 06/11/2008 02:34 AM]
[Modified at 06/11/2008 02:35 AM]
When LoadToolWindowLayoutFromFile(), if WindowLayoutFile contains some unknown toolwindow layout data(e.g.: an add-in create a toolwindow and its layout data has been saved into WindowLayoutFile. After that I remove the add-in), UI studio will show a blank toolwindow without anything.
How can I remove the blank toolwindow?
I have try to close the TabbedMdiWindow in DockManager.WindowInitializing, but it doesn't work.
From my opion, I hope there is a way to make me can filter out some GUID from layoutdata file.
Thanks in advance.
BR,
Dong
[Modified at 06/11/2008 02:34 AM]
[Modified at 06/11/2008 02:35 AM]