Hi Everyone,
Does anyone know how I can retrieve the IVsWindowFrame of the Solution
Explorer.
If I create a new project, if the Solution Explorer is closed I want to be
able to open and display it. I thought the EnvDTE.Windows.Item.Activate
method would do it but...no.
Any suggestions?
Cheers
Martin
"Rusty Deschenes [MS]" - 08 Sep 2004 17:44 GMT
Hi Martin,
You should call
IVsUiShell.FindToolWindow(FTW_fForceCreate, guid, ppWindowFrame);
Where ppWindowFrame is the address of an IVsWindowFrame pointer
and the guid is {3AE79031-E1BC-11D0-8F78-00A0C9110057}
I found the GUID by looking in the registry under
[HKLM\Software\Microsoft\VisualStudio\7.1\ToolWindows\] and searching for
Solution. If you look through the list of entry you will find the GUIDs for
the other toolwindows as well.
Rusty

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