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.
Header file: | Afxctl.h |
Platforms: | H/PC 2.0, H/PC Pro |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
virtual BOOL OnGetViewExtent( DWORD dwDrawAspect, LONG lindex,
DVTARGETDEVICE* ptd, LPSIZEL lpsizel );
DVTARGETDEVICE, COleControl::OnGetViewRect