IVsUIShell6::SetFixedThemeColors Method (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.

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

void SetFixedThemeColors(
	IntPtr hwnd
)

Parameters

hwnd
Type: System::IntPtr

The window

Return to top
Show: