Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: