This documentation is archived and is not being maintained.

COleControl::SetEnabled

Sets the stock Enabled property value of your control.

void SetEnabled( 
   BOOL bEnabled  
);

bEnabled

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

After setting this property, OnEnabledChange is called.

Header: afxctl.h

Show: