CComControl::OnPaint

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

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

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

See Also

IViewObjectExImpl::Draw