COleControl::OnGetViewExtent

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

Syntax

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

At a Glance

Header file: Afxctl.h
Platforms:
Versions: 2.0 and later
Complete documentation Visual C++ documentation

See Also

COleControl Overview, COleControl Member Functions, Control Classes, DVTARGETDEVICE, COleControl::OnGetViewRect