BCGControlBar Pro for MFC
void CBCGPTaskDialog::SetCommandControlOptions ( int  nCommandControlID,
BOOL  bEnabled,
BOOL  bRequiresElevation = FALSE 
)

Updates a command button control on the CBCGPTaskDialog.

Parameters
nCommandControlIDThe ID of the command control to update.
bEnabledA Boolean parameter that indicates if the specified command button control is enabled or disabled.
bRequiresElevationA Boolean parameter that indicates if the specified command button control requires elevation.