0 out of 1 rated this helpful - Rate this topic

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 
);

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.

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.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ