NetXP 3.0 Reference

UXTheme.DrawThemeParentBackground Method 

Draws the themed parent background for a window.

[Visual Basic]
Public Shared Function DrawThemeParentBackground( _
   ByVal hwnd As IntPtr, _
   ByVal hdc As IntPtr, _
   ByVal ox As Integer, _
   ByVal oy As Integer, _
   ByVal dx As Integer, _
   ByVal dy As Integer _
) As Boolean
[C#]
public static bool DrawThemeParentBackground(
   IntPtr hwnd,
   IntPtr hdc,
   int ox,
   int oy,
   int dx,
   int dy
);

Parameters

hwnd
Window.
hdc
Device Context.
ox
The destination location (x).
oy
The destination location (y).
dx
The destination size (x).
dy
The destination size (y).

Return Value

True if successful. False if failed.

See Also

UXTheme Class | NETXP.Library Namespace