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


In This Topic
    DrawThemeIcon Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function DrawThemeIcon( _
       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 hImageList As System.IntPtr, _
       ByVal imageIndex As System.Integer _
    ) 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 hImageList As System.IntPtr
    Dim imageIndex As System.Integer
    Dim value As System.Integer
     
    value = NUxTheme.DrawThemeIcon(hTheme, hDC, partId, stateId, rect, hImageList, imageIndex)
    public static System.int DrawThemeIcon( 
       System.IntPtr hTheme,
       System.IntPtr hDC,
       System.int partId,
       System.int stateId,
       ref NWin32.RECT rect,
       System.IntPtr hImageList,
       System.int imageIndex
    )

    Parameters

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