Nevron.Interop.Win32 Namespace / NUxTheme Class / GetThemeColor Method / GetThemeColor(IntPtr,Int32,Int32,Int32,Int32) Method


GetThemeColor(IntPtr,Int32,Int32,Int32,Int32) Method
Syntax
'Declaration
 
Public Overloads Shared Function GetThemeColor( _
   ByVal hTheme As System.IntPtr, _
   ByVal part As System.Integer, _
   ByVal state As System.Integer, _
   ByVal propId As System.Integer, _
   ByRef COLORREF As System.Integer _
) As System.IntPtr
 
'Usage
 
Dim hTheme As System.IntPtr
Dim part As System.Integer
Dim state As System.Integer
Dim propId As System.Integer
Dim COLORREF As System.Integer
Dim value As System.IntPtr
 
value = NUxTheme.GetThemeColor(hTheme, part, state, propId, COLORREF)

Parameters

hTheme
part
state
propId
COLORREF
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also