Call this member function to to get the ID of the default pushbutton control for a dialog box. This is usually an OK button.
DWORD GetDefID( ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CDialog Overview, CDialog Member Functions, Dialog Box Classes, CDialog::SetDefID