Share via


AFX_GLOBAL_DATA::DrawParentBackground

Draws the background of a control's parent in the specified area.

BOOL DrawParentBackground(
   CWnd* pWnd, 
   CDC* pDC, 
   LPRECT lpRect = NULL
);

Parameters

  • [in] pWnd
    Pointer to a control's window.

  • [in] pDC
    Pointer to a device context.

  • [in] lpRect
    Pointer to a rectangle that bounds the area to draw. The default value is NULL.

Return Value

TRUE if this method is successful; otherwise, FALSE.

Requirements

Header:

See Also

Reference

AFX_GLOBAL_DATA Structure

Hierarchy Chart