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


In This Topic
    GetThemePartSize(IntPtr,IntPtr,Int32,Int32,RECT,Int32,SIZE) Method
    In This Topic
    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)
    public static System.IntPtr GetThemePartSize( 
       System.IntPtr hTheme,
       System.IntPtr hdc,
       System.int part,
       System.int state,
       ref NWin32.RECT rect,
       System.int themeSize,
       ref NWin32.SIZE 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