UXTheme.DrawBackground Method
Draws the themed background for a themed part.
[Visual Basic]Public Shared Function DrawBackground( _
ByVal
name As
String, _
ByVal
part As
Integer, _
ByVal
state As
Integer, _
ByVal
hdc As
IntPtr, _
ByVal
ox As
Integer, _
ByVal
oy As
Integer, _
ByVal
dx As
Integer, _
ByVal
dy As
Integer, _
ByVal
clip_ox As
Integer, _
ByVal
clip_oy As
Integer, _
ByVal
clip_dx As
Integer, _
ByVal
clip_dy As
Integer _
) As
Boolean [C#]public static
bool DrawBackground(
string name,
int part,
int state,
IntPtr hdc,
int ox,
int oy,
int dx,
int dy,
int clip_ox,
int clip_oy,
int clip_dx,
int clip_dy);
Parameters
- name
- The name of the class to open.
- part
- The part.
- state
- The state ID of the part.
- hdc
- The device context.
- ox
- The destination location (x).
- oy
- The destination location (y).
- dx
- The destination size (x).
- dy
- The destination size (y).
- clip_ox
- The clip rectangle location (x).
- clip_oy
- The clip rectangle location (y).
- clip_dx
- The clip rectangle size (x).
- clip_dy
- The clip rectangle size (y).
Return Value
True if successful. False if failed.
See Also
UXTheme Class | NETXP.Library Namespace