CAxDialogImpl::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.

dwInitParam

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

RECT&

This parameter is not used. This parameter is passed in by CComControl.

Remarks

Creates a modeless dialog box. This dialog box is automatically attached to the CAxDialogImpl object. To create a modal dialog box, call DoModal.

The second override is provided only so dialog boxes can be used with CComControl.

CAxDialogImpl OverviewClass Members

See Also

CAxDialogImpl::DestroyWindow, CAxDialogImpl::DoModal