共用方式為


CComControlBase::SendOnDataChange

Notifies all advisory sinks registered with the advise holder that the control data has changed.

HRESULT SendOnDataChange(
   DWORD advf = 0
);

Parameters

Return Value

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

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class

CComControlBase::m_spDataAdviseHolder

Other Resources

CComControlBase Members