BCGControlBar Pro for MFC
void CBCGPTaskDialog::SetDefaultCommandControl ( int  nCommandControlID)

Specifies the default command button control.

Parameters
nCommandControlIDThe ID of the command button control to be the default.