Share via


IVsUIShell6.ThemeWindow Method

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

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

Syntax

'Declaration
Function ThemeWindow ( _
    hwnd As IntPtr _
) As Boolean
bool ThemeWindow(
    IntPtr hwnd
)
bool ThemeWindow(
    [InAttribute] IntPtr hwnd
)
abstract ThemeWindow : 
        hwnd:IntPtr -> bool
function ThemeWindow(
    hwnd : IntPtr
) : boolean

Parameters

  • hwnd
    Type: IntPtr

    The handle of the window.

Return Value

Type: Boolean
The HRESULT.

.NET Framework Security

See Also

Reference

IVsUIShell6 Interface

Microsoft.VisualStudio.Shell.Interop Namespace