CDialogImpl::Create
Creates a modeless dialog box.
HWND Create(
HWND hWndParent,
LPARAM dwInitParam = NULL
);
HWND Create(
HWND hWndParent,
RECT&,
LPARAM dwInitParam = NULL
);
Параметры
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.
Возвращаемое значение
The handle to the newly created 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.
Требования
Header: atlwin.h