共用方式為


CComControlBase::SendOnClose

Notifies all advisory sinks registered with the advise holder that the control has been closed.

HRESULT SendOnClose( );

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

Sends a notification that the control has closed its advisory sinks.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

Other Resources

CComControlBase Members