Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / VisualStyle Class / DrawThemeBackground Method


In This Topic
    DrawThemeBackground Method
    In This Topic
    Internal use only. Draws the theme background.
    Syntax
    'Declaration
     
    
    Public Shared Function DrawThemeBackground( _
       ByVal hTheme As IntPtr, _
       ByVal hDC As IntPtr, _
       ByVal iPartId As Integer, _
       ByVal iStateId As Integer, _
       ByRef pRect As VisualStyle.RECT, _
       ByRef pClipRect As VisualStyle.RECT _
    ) As Integer
    'Usage
     
    
    Dim hTheme As IntPtr
    Dim hDC As IntPtr
    Dim iPartId As Integer
    Dim iStateId As Integer
    Dim pRect As VisualStyle.RECT
    Dim pClipRect As VisualStyle.RECT
    Dim value As Integer
     
    value = VisualStyle.DrawThemeBackground(hTheme, hDC, iPartId, iStateId, pRect, pClipRect)
    public static int DrawThemeBackground( 
       IntPtr hTheme,
       IntPtr hDC,
       int iPartId,
       int iStateId,
       ref VisualStyle.RECT pRect,
       ref VisualStyle.RECT pClipRect
    )

    Parameters

    hTheme
    hDC
    iPartId
    iStateId
    pRect
    pClipRect
    See Also