COleControl::OnSetExtent

This method is called by the framework when the control's extent needs to be changed, as a result of a call to IOleObject::SetExtent. The default implementation handles the resizing of the control's extent. If the control is in-place active, a call to the container's OnPosRectChanged is then made.

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 OnSetExtent( LPSIZEL lpSizeL );