COleControl::SetEnabled

void SetEnabled( BOOL bEnabled );

Parameters

bEnabled

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

Remarks

Call this function to set the stock Enabled property value of your control. After setting this property, OnEnabledChange is called.

COleControl OverviewClass MembersHierarchy Chart

See Also   COleControl::GetEnabled, COleControl::OnEnabledChanged