Hello Greg,
First, do not use the ForceCreate flag when calling
IVsUiShell->CreateToolWindow()
Second, add to the registry a DWORD entry named DontForceCreate with a
value of 1. This should be added under
HKLM\Software\Microsoft\VisualStudio\<version#>\ToolWindows\<YourToolWindowG
uid>\
--------------------
| From: "=?Utf-8?B?R3JlZw==?=" <Greg@discussions.microsoft.com>
| Date: Mon, 1 Nov 2004 14:29:04 -0800
[quoted text clipped - 3 lines]
|
| Greg
Doing both should get you the result you desire
Rusty

Signature
--
Rusty Deschenes [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.