Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CDialog::GetDefID
CDialog                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  DWORD GetDefID();
 
  Remarks
 
  Call the GetDefID member function to get the ID of the default
  pushbutton control for a dialog box. This is usually an OK button.
 
  Return Value
 
  A 32-bit value (DWORD). If the default pushbutton has an ID value, the
  high-order word contains DC_HASDEFID and the low-order word contains the
  ID value. If the default pushbutton does not have an ID value, the
  return value is 0.
 
  See Also
 
  CDialog::SetDefID
 
 
                                     -♦-