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


In This Topic
    DrawThemeBackground(IntPtr,IntPtr,Int32,Int32,RECT,IntPtr) Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function DrawThemeBackground( _
       ByVal hTheme As System.IntPtr, _
       ByVal hDC As System.IntPtr, _
       ByVal partId As System.Integer, _
       ByVal stateId As System.Integer, _
       ByRef rect As NWin32.RECT, _
       ByVal clip As System.IntPtr _
    ) As System.Integer
    'Usage
     
    
    Dim hTheme As System.IntPtr
    Dim hDC As System.IntPtr
    Dim partId As System.Integer
    Dim stateId As System.Integer
    Dim rect As NWin32.RECT
    Dim clip As System.IntPtr
    Dim value As System.Integer
     
    value = NUxTheme.DrawThemeBackground(hTheme, hDC, partId, stateId, rect, clip)
    public static System.int DrawThemeBackground( 
       System.IntPtr hTheme,
       System.IntPtr hDC,
       System.int partId,
       System.int stateId,
       ref NWin32.RECT rect,
       System.IntPtr clip
    )

    Parameters

    hTheme
    hDC
    partId
    stateId
    rect
    clip
    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