IVsPackageDynamicToolOwnerEx.QueryShowTool Method (Guid, UInt32, Int32)

 

Enables the VSPackage to control whether to show or hide the tool window. The shell calls this method when the user switches views or contexts, for example Design, Debugging, Full Screen.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

abstract QueryShowTool : 
        rguidPersistenceSlot:Guid byref *
        dwId:uint32 *
        pfShowTool:int byref -> int

Parameters

rguidPersistenceSlot
Type: System.Guid

[in] The GUID of the window.

dwId
Type: System.UInt32

[in] The instance ID of the tool window.

pfShowTool
Type: System.Int32

[out] true if the tool window is to be displayed, otherwise false.

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: