共用方式為


COleControl::OnSetClientSite

Called by the framework when the container has called the control's IOleControl::SetClientSite function.

virtual void OnSetClientSite( );

Remarks

By default, OnSetClientSite checks whether data path properties are loaded and, if they are, calls DoDataPathPropExchange.

Override this function to do any special processing of this notification. In particular, overrides of this function should call the base class.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart