Поделиться через


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.

Требования

Header: atlctl.h

См. также

Основные понятия

CComControlBase Class

CComControlBase Members