Nevron.Interop.Win32 Namespace / NUxTheme Class / GetThemeRect Method


GetThemeRect Method
Syntax
'Declaration
 
Public Shared Function GetThemeRect( _
   ByVal hTheme As System.IntPtr, _
   ByVal part As System.Integer, _
   ByVal state As System.Integer, _
   ByVal type As System.Integer, _
   ByRef rect As NGdi32 _
) As System.IntPtr
 
'Usage
 
Dim hTheme As System.IntPtr
Dim part As System.Integer
Dim state As System.Integer
Dim type As System.Integer
Dim rect As NGdi32
Dim value As System.IntPtr
 
value = NUxTheme.GetThemeRect(hTheme, part, state, type, rect)

Parameters

hTheme
part
state
type
rect
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