MFC Library Reference
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.
See Also
Reference
CDialog ClassHierarchy Chart
CDialog::GetDefID