CComControlBase::OnDrawAdvanced
Visual Studio 2005
The default OnDrawAdvanced prepares a normalized device context for drawing, then calls your control class's OnDraw method.
virtual HRESULT OnDrawAdvanced( ATL_DRAWINFO& di );
Parameters
- 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.
Override this method if you want to accept the device context passed by the container without normalizing it.
See CComControlBase::OnDraw for more details.