Posted 18 years ago
by Buddhist

I used SaveToolWindowLayoutToFile(...) to store my tool windows layout.
But I got an error when I opened a hidden ToolWindow. Below was what I did.
I closed a tool window, then quit the whole app and stored the layout.
I can see some stuffs were added into the layout.xml,
<Hidden>
<ToolWindow Key=" ...
...
</ToolWindow>
</Hidden>
Then, I opened the app and wanna bring up that tool window again, I got this,
System.ArgumentException: The Guid specified for the tool window has already been registered for another tool window.
I can't figure out what happened because I am very sure that the GUID was unique.
So I'm wondering if this is a bug of UIStudio.
My version is 2.0.72.0, XP SP2...
[Modified at 10/15/2006 09:51 PM]
But I got an error when I opened a hidden ToolWindow. Below was what I did.
I closed a tool window, then quit the whole app and stored the layout.
I can see some stuffs were added into the layout.xml,
<Hidden>
<ToolWindow Key=" ...
...
</ToolWindow>
</Hidden>
Then, I opened the app and wanna bring up that tool window again, I got this,
System.ArgumentException: The Guid specified for the tool window has already been registered for another tool window.
I can't figure out what happened because I am very sure that the GUID was unique.
So I'm wondering if this is a bug of UIStudio.
My version is 2.0.72.0, XP SP2...
[Modified at 10/15/2006 09:51 PM]