The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
CComControlBase::OnDrawAdvanced
The default OnDrawAdvanced prepares a normalized device context for drawing, then calls your control class's OnDraw method.
virtual HRESULT OnDrawAdvanced(
ATL_DRAWINFO& di
);
- di
A reference to the ATL_DRAWINFO structure that contains drawing information such as the draw aspect, the control bounds, and whether the drawing is optimized or not.
A standard HRESULT value.
Override this method if you want to accept the device context passed by the container without normalizing it.
See CComControlBase::OnDraw for more details.
Requirements
Header: atlctl.h
Show: