IVsUIShell6.SetFixedThemeColors(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
void SetFixedThemeColors(IntPtr hwnd);
public void SetFixedThemeColors (IntPtr hwnd);
abstract member SetFixedThemeColors : nativeint -> unit
Public Sub SetFixedThemeColors (hwnd As IntPtr)
Parameters
- hwnd
-
IntPtr
nativeint
The window