This method deletes or restores the device context or does nothing, depending on flags set in OnDrawAdvanced.
virtual HRESULT OnDraw( ATL_DRAWINFO& di );
| Header file: | Atlctl.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation: | Visual C++ documentation |
CComControl Overview, CComControl Methods, CComControl::OnDrawAdvanced, IViewObjectExImpl::Draw