CComControlBase::OnPaint
Prepares the container for painting, gets the control's client area, then calls the control class's OnDrawAdvanced method.
LRESULT OnPaint(
UINT /* nMsg */,
WPARAM wParam,
LPARAM /* lParam */,
BOOL& /* lResult */
);
Parameters
nMsg
Reserved.wParam
An existing HDC.lParam
Reserved.lResult
Reserved.
Return Value
Always returns zero.
Remarks
If wParam is not NULL, OnPaint assumes it contains a valid HDC and uses it instead of CComControlBase::m_hWndCD.
Requirements
Header: atlctl.h