BCGControlBar Pro for MFC
BOOL CBCGPTaskDialog::IsCommandControlEnabled ( int  nCommandControlID) const

Determines whether a command button control or button is enabled.

Parameters
nCommandControlIDThe ID of the command button control or button to test.
Returns
True if the command control is enabled, false if not.