CDialogImpl::Create

HWND Create( HWND hWndParent, LPARAM dwInitParam = NULL );

HWND Create( HWND hWndParent, RECT&, LPARAM dwInitParam = NULL );

Return Value

The handle to the newly created dialog box.

Parameters

hWndParent

[in] The handle to the owner window.

RECT& rect

[in] A RECT structure specifying the dialog's size and position.

dwInitParam

[in] Specifies the value to pass to the dialog box in the lParam parameter of the WM_INITDIALOG message.

Remarks

Creates a modeless dialog box. This dialog box is automatically attached to the CDialogImpl object.

To create a modal dialog box, call DoModal.

The second override above is used only with CComControl.

CDialogImpl OverviewClass Members

See Also

CWindow::m_hWnd