CreateDialogIndirectParam function user32
int
CreateDialogIndirectParam(
- int hInstance,
- Pointer<
DLGTEMPLATE> lpTemplate, - int hWndParent,
- Pointer<
NativeFunction< lpDialogFunc,DLGPROC> > - int dwInitParam,
Creates a modeless dialog box from a dialog box template in memory. Before displaying the dialog box, the function passes an application-defined value to the dialog box procedure as the lParam parameter of the WM_INITDIALOG message. An application can use this value to initialize dialog box controls.
HWND CreateDialogIndirectParamW(
HINSTANCE hInstance,
LPCDLGTEMPLATEW lpTemplate,
HWND hWndParent,
DLGPROC lpDialogFunc,
LPARAM dwInitParam
);
Implementation
int CreateDialogIndirectParam(
int hInstance,
Pointer<DLGTEMPLATE> lpTemplate,
int hWndParent,
Pointer<NativeFunction<DLGPROC>> lpDialogFunc,
int dwInitParam,
) => _CreateDialogIndirectParam(
hInstance,
lpTemplate,
hWndParent,
lpDialogFunc,
dwInitParam,
);