This documentation is archived and is not being maintained.

CDialog::SetDefID 

Changes the default pushbutton control for a dialog box.


void SetDefID(
   UINT nID 
);

Parameters

nID

Specifies the ID of the pushbutton control that will become the default.

Show: