Nevron.Interop.Win32 Namespace / NUxTheme Class / GetThemePartSize Method / GetThemePartSize(IntPtr,IntPtr,Int32,Int32,RECT,Int32,SIZE) Method


GetThemePartSize(IntPtr,IntPtr,Int32,Int32,RECT,Int32,SIZE) Method
Syntax
'Declaration
 
Public Overloads Shared Function GetThemePartSize( _
   ByVal hTheme As System.IntPtr, _
   ByVal hdc As System.IntPtr, _
   ByVal part As System.Integer, _
   ByVal state As System.Integer, _
   ByRef rect As NWin32.RECT, _
   ByVal themeSize As System.Integer, _
   ByRef size As NWin32.SIZE _
) As System.IntPtr
 
'Usage
 
Dim hTheme As System.IntPtr
Dim hdc As System.IntPtr
Dim part As System.Integer
Dim state As System.Integer
Dim rect As NWin32.RECT
Dim themeSize As System.Integer
Dim size As NWin32.SIZE
Dim value As System.IntPtr
 
value = NUxTheme.GetThemePartSize(hTheme, hdc, part, state, rect, themeSize, size)

Parameters

hTheme
hdc
part
state
rect
themeSize
size
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