CDialog::GetDefID

Call this member function to to get the ID of the default pushbutton control for a dialog box. This is usually an OK button.

Syntax

DWORD GetDefID( ) const;

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::SetDefID