CDialog::CreateIndirect

Call this member function to create a modeless dialog box from a dialog-box template in memory.

Syntax

BOOL CreateIndirect( LPCDLGTEMPLATE lpDialogTemplate, CWnd* pParentWnd = NULL );

BOOL CreateIndirect( HGLOBAL hDialogTemplate, CWnd* pParentWnd = NULL );

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