次の方法で共有


IVsUIShell6 Interface

Definition

Provides shell functionality.

public interface class IVsUIShell6 : Microsoft::VisualStudio::Shell::Interop::IVsUIShell5
public interface class IVsUIShell6 : Microsoft::VisualStudio::Shell::Interop::IVsUIShell5
__interface IVsUIShell6 : Microsoft::VisualStudio::Shell::Interop::IVsUIShell5
[System.Runtime.InteropServices.Guid("7033D7ED-0E98-4C91-9881-1DD84891D378")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsUIShell6 : Microsoft.VisualStudio.Shell.Interop.IVsUIShell5
[<System.Runtime.InteropServices.Guid("7033D7ED-0E98-4C91-9881-1DD84891D378")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsUIShell6 = interface
    interface IVsUIShell5
Public Interface IVsUIShell6
Implements IVsUIShell5
Attributes
Implements

Methods

CreateThemedImageList(IntPtr, UInt32)

Creates a themed image list. Themed image lists attempt to transform the images to target a given background. The caller is responsible for calling ImageList_Destroy to delete the imagelist. HANDLE represents an HIMAGELIST, but including commctrl.h can produce build issues for projects that would not otherwise support common controls.

EnumKeyBindingScopes()

Retrieves a collection of the available key binding scopes.

GetKeyBindingScope(Guid)

Retrieves the name of a key binding scope.

GetOpenFileNameViaDlgEx2(VSOPENFILENAMEW[], String, String)

Brings up the File Open dialog box to obtain a specified open file.

GetThemedColor(Guid, String, UInt32)

Gets the current RGBA value of a themed color. This method fails if the color does not exist.

SetFixedThemeColors(IntPtr)

For a window previously themed by calling ThemeWindow, ensures that the window uses only colors from a fixed VS-theme, that are suitable when the themed window is displayed as child of an unthemed window (e.g. in a dialog), such that the themed window doesn't look 'out-of-place'. Other visual characteristics of the theme are kept (e.g. expander shapes in treeview, lines, control styles, etc), just the window's colors won't change when the appid theme is changed. This function should be called for themed controls that are children of unthemed dialogs.

ThemeDIBits(UInt32, Byte, UInt32, UInt32, Boolean, UInt32)

Applies theming to BGRA32 device-independent bitmap bits. The luminosity of the image is transformed so that the constant "halo" luminosity blends in with the background. This has the effect of eliminating the halo visually. The "halo" luminosity is an immutable constant, and is not calculated from the input image. Images which contain cyan (#00FFFF) in their top-right pixel are not inverted. Instead, the top-right pixel is cleared (RGBA are all set to 0) and S_OK is returned without otherwise modifying the image.

ThemeDIBits(UInt32, Byte[], UInt32, UInt32, Boolean, UInt32)

Applies theming to BGRA32 device-independent bitmap bits. The luminosity of the image is transformed so that the constant "halo" luminosity blends in with the background. This has the effect of eliminating the halo visually. The "halo" luminosity is an immutable constant, and is not calculated from the input image. Images which contain cyan (#00FFFF) in their top-right pixel are not inverted. Instead, the top-right pixel is cleared (RGBA are all set to 0) and S_OK is returned without otherwise modifying the image.

(Inherited from IVsUIShell5)
ThemeWindow(IntPtr)

Apply the VS-theme to the specified window, for supported window classes.

Extension Methods

GetThemedColorRgba(IVsUIShell5, ThemeResourceKey)

Gets a uint VS_RGBA value from the current theme for the given color key. The returned value ha the red channel in the low byte to the alpha channel in the high byte.

GetThemedGDIColor(IVsUIShell5, ThemeResourceKey)

Gets a System.Drawing.Color value from the current theme for the given color key.

GetThemedWPFColor(IVsUIShell5, ThemeResourceKey)

Gets a System.Windows.Media.Color value from the current theme for the given color key.

Applies to