共用方式為


IVsUIShell5.ThemeWindow(IntPtr) Method

Definition

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

public:
 bool ThemeWindow(IntPtr hwnd);
public bool ThemeWindow (IntPtr hwnd);
abstract member ThemeWindow : nativeint -> bool
Public Function ThemeWindow (hwnd As IntPtr) As Boolean

Parameters

hwnd
IntPtr

nativeint

The pointer to the window.

Returns

True if the color theme was applied, otherwise false.

Applies to