共用方式為


COleControl::OnBackColorChanged

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

virtual void OnBackColorChanged( );

Remarks

Override this function if you want notification after this property changes. The default implementation calls InvalidateControl.

Requirements

Header: afxctl.h

See Also

Reference

COleControl Class

Hierarchy Chart

COleControl::GetBackColor

COleControl::InvalidateControl

Other Resources

COleControl Members