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


In This Topic
    GetThemeRect Method
    In This Topic
    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)
    public static System.IntPtr GetThemeRect( 
       System.IntPtr hTheme,
       System.int part,
       System.int state,
       System.int type,
       ref NGdi32 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