COleControl::OnSetExtent

This member function 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.

Syntax

virtual BOOL OnSetExtent( 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