CDialog::OnInitDialog

The framework calls this member function in response to the WM_INITDIALOG message. This message is sent to the dialog box during the Create, CreateIndirect, or DoModal calls, which occur immediately before the dialog box is displayed.

Syntax

virtual BOOL OnInitDialog( );

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::Create, CDialog::CreateIndirect