CDialog::OnOK

The framework calls this member function when the user clicks the OK button (the button with an identifier of IDOK).

Syntax

virtual void OnOK( );

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::OnCancel, CDialog::EndDialog