共用方式為


COleControl::OnForeColorChanged

Called by the framework when the stock ForeColor property value has changed.

virtual void OnForeColorChanged( );

Remarks

The default implementation calls InvalidateControl.

Override this function if you want notification after this property changes.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::SetForeColor

COleControl::InvalidateControl