Condividi tramite


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

Reference

COleControl Class

Hierarchy Chart

COleControl::GetEnabled

COleControl::OnEnabledChanged

Other Resources

COleControl Members