IVsUIShell2 Interface
Extends the functionality of the IVsUIShell interface by providing access to additional window functionalities.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
<GuidAttribute("4E6B6EF9-8E3D-4756-99E9-1192BAAD5496")> _
<InterfaceTypeAttribute()> _
Public Interface IVsUIShell2
[GuidAttribute("4E6B6EF9-8E3D-4756-99E9-1192BAAD5496")]
[InterfaceTypeAttribute()]
public interface IVsUIShell2
[GuidAttribute(L"4E6B6EF9-8E3D-4756-99E9-1192BAAD5496")]
[InterfaceTypeAttribute()]
public interface class IVsUIShell2
[<GuidAttribute("4E6B6EF9-8E3D-4756-99E9-1192BAAD5496")>]
[<InterfaceTypeAttribute()>]
type IVsUIShell2 = interface end
public interface IVsUIShell2
The IVsUIShell2 type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateGlyphImageButton | Creates a mixed image/text button using the specified glyph as the image. | |
CreateGradient | Returns an IVsGradient object on which to draw a gradient of a specified type. | |
CreateIconImageButton | Creates a mixed image/text button using the specified icon as the image. | |
GetDirectoryViaBrowseDlgEx | Brings up the Browse dialog box to obtain a directory name (possibly in a namespace extension). | |
GetOpenFileNameViaDlgEx | Brings up the File Open dialog box to obtain a specified open file. | |
GetSaveFileNameViaDlgEx | Brings up the Save As dialog box to obtain a save file name. | |
GetVSCursor | Returns a handle to a cursor of a specified cursor type. | |
GetVSSysColorEx | Returns the RGB settings for the specified system color used by the environment. | |
IsAutoRecoverSavingCheckpoints | Indicates whether unsaved documents are currently being auto-saved. | |
SaveItemsViaDlg | Handles the saving of one or more documents through the Save changes to following items dialog box. | |
VsDialogBoxParam | Loads and displays the specified dialog template using the specified dialog callback procedure. |
Top
Remarks
This interface provides methods for:
Creating buttons that combine images and text.
Creating gradients for filling window backgrounds.
Obtain system color values.
Extended browsing for folders.
Extended browsing to open or save files.
Handling custom dialog boxes.
Notes to Implementers
Implemented by the environment.
Notes to Callers
Obtain the IVsUIShell2 interface by calling the QueryInterface method in the IVsUIShell interface which in turn is obtained from the SVsUIShell service.