CDialog::GetDefID

This method gets the identifier of the default push button control for a dialog box. This is usually an OK button.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

DWORD GetDefID( ) const;

See Also

CDialog::SetDefID