This method prepares the container for painting, gets the control's client area, then calls the control class's OnDraw method.
LRESULT OnPaint( UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& lResult );
| Header file: | Atlctl.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation: | Visual C++ documentation |
CComControl Overview, CComControl Methods, IViewObjectExImpl::Draw