CComControl::OnDraw

This method deletes or restores the device context or does nothing, depending on flags set in OnDrawAdvanced.

Syntax

virtual HRESULT OnDraw( ATL_DRAWINFO& di );

At a Glance

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

See Also

CComControl Overview, CComControl Methods, CComControl::OnDrawAdvanced, IViewObjectExImpl::Draw