COleControl::SetEnabled

Sets the stock Enabled property value of your control.

void SetEnabled(
   BOOL bEnabled 
);

Parameters

  • bEnabled
    TRUE if the control is to be enabled; otherwise FALSE.

Remarks

After setting this property, OnEnabledChange is called.

Requirements

Header: afxctl.h

See Also

Concepts

COleControl Class

COleControl Members

Hierarchy Chart

COleControl::GetEnabled

COleControl::OnEnabledChanged