共用方式為


COleControl::GetEnabled

Implements the Get function of your control's stock Enabled property.

BOOL GetEnabled( );

Return Value

Nonzero if the control is enabled; otherwise 0.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::SetEnabled

COleControl::OnEnabledChanged