COleControl::OnGetViewExtent

This method called by the framework in response to a container's IViewObjectEx::GetExtent request. Override this method if your control uses two-pass drawing, and its opaque and transparent parts have different dimensions.

At a Glance

Header file: Afxctl.h
Platforms: H/PC 2.0, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual BOOL OnGetViewExtent( DWORD dwDrawAspect, LONG lindex,
DVTARGETDEVICE*
ptd, LPSIZEL lpsizel );

See Also

DVTARGETDEVICE, COleControl::OnGetViewRect