BCGSuite for MFC
BOOL CBCGPButton::EnableButton ( BOOL  bEnable = TRUE)

Enables or disables the button.

Call the EnableButton method to enable or disable the button. If the button to be disabled is currently focused, the focus will be automatically set to the next enabled control with WS_TABSTOP style.

Parameters
bEnableIf this parameter is True, the button will be enabled, False - disabled.