다음을 통해 공유


IVsUIShell6.SetFixedThemeColors Method

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.

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

Syntax

'Declaration
Sub SetFixedThemeColors ( _
    hwnd As IntPtr _
)
void SetFixedThemeColors(
    IntPtr hwnd
)
void SetFixedThemeColors(
    [InAttribute] IntPtr hwnd
)
abstract SetFixedThemeColors : 
        hwnd:IntPtr -> unit
function SetFixedThemeColors(
    hwnd : IntPtr
)

Parameters

  • hwnd
    Type: IntPtr

    The window

.NET Framework Security

See Also

Reference

IVsUIShell6 Interface

Microsoft.VisualStudio.Shell.Interop Namespace