CDialog::SetDefID

Call this member function to change the default pushbutton control for a dialog box.

Syntax

void SetDefID( UINT nID );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDialog Overview, CDialog Member Functions, Dialog Box Classes, CDialog::GetDefID