IVsPackageDynamicToolOwner::QueryShowTool Method (Guid, Int32)
Visual Studio 2015
Allows the package to control whether the tool window should be shown or hidden. This method is called by the shell when the user switches to a different window view or context, for example Design, Debugging, Full Screen, etc.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int QueryShowTool( [InAttribute] Guid% rguidPersistenceSlot, [OutAttribute] int% pfShowTool )
Parameters
- rguidPersistenceSlot
-
Type:
System::Guid
[in] The GUID of the window.
- pfShowTool
-
Type:
System::Int32
[out] true to show the window, otherwise false.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsPackageDynamicToolOwner::QueryShowTool(
[in] REFGUID rguidPersistenceSlot,
[out] BOOL *pfShowTool
);
Show: