IViewObjectExImpl::Draw

HRESULT Draw( DWORD dwDrawAspect, LONG lindex, void* pvAspect, DVTARGETDEVICE* ptd, HDC hicTargetDev, LPCRECTL prcBounds, LPCRECTL prcWBounds, BOOL(_stdcall * pfnContinue) (DWORD dwContinue), DWORD dwContinue );

See IViewObject::Draw in the Win32 SDK.

Remarks

This method calls CComControl::OnDrawAdvanced which in turn calls your control class's OnDraw method. An OnDraw method is automatically added to your control class when you create your control with the ATL Object Wizard. The Wizard's default OnDraw draws a rectangle with the label "ATL 2.0".

IViewObjectExImpl OverviewClass Members

See Also   CComControl::OnDrawAdvanced, CComControl::OnDraw