共用方式為


CCmdTarget::OnFinalRelease

Called by the framework when the last OLE reference to or from the object is released.

virtual void OnFinalRelease( );

Remarks

Override this function to provide special handling for this situation. The default implementation deletes the object.

Requirements

Header: afxwin.h

See Also

Concepts

CCmdTarget Class

CCmdTarget Members

Hierarchy Chart

COleServerItem Class