CComControl::OnPaint

This method prepares the container for painting, gets the control's client area, then calls the control class's OnDraw method.

Syntax

LRESULT OnPaint( UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& lResult );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComControl Overview, CComControl Methods, IViewObjectExImpl::Draw