DrawThemeBackground Method
In This Topic
Internal use only. Draws the theme background.
Syntax
'Declaration
Public Shared Function DrawThemeBackground( _
ByVal As IntPtr, _
ByVal As IntPtr, _
ByVal As Integer, _
ByVal As Integer, _
ByRef As VisualStyle.RECT, _
ByRef 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 ,
IntPtr ,
int ,
int ,
ref VisualStyle.RECT ,
ref VisualStyle.RECT
)
Parameters
- hTheme
- hDC
- iPartId
- iStateId
- pRect
- pClipRect
See Also