This method calls CComControl::OnDrawAdvanced, which in turn calls the OnDraw method of your control class. 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".
At a Glance
Header file: | Atlctl.h |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
Syntax
HRESULT Draw( DWORD dwDrawAspect, LONG lindex, void* pvAspect, DVTARGETDEVICE* ptd, HDC hicTargetDev, LPCRECTL prcBounds,
LPCRECTL prcWBounds, BOOL(_stdcall * pfnContinue) (
DWORD dwContinue), DWORD dwContinue );
See Also