DialogBoxIndirect function user32
void
DialogBoxIndirect(
- int hInstance,
- Pointer<
DLGTEMPLATE> lpTemplate, - int hWndParent,
- Pointer<
NativeFunction< lpDialogFunc,DlgProc> >
Creates a modal dialog box from a dialog box template in memory. DialogBoxIndirect does not return control until the specified callback function terminates the modal dialog box by calling the EndDialog function.
DialogBoxIndirect is implemented as a call to the DialogBoxIndirectParam function.
void DialogBoxIndirectW(
hInstance,
lpTemplate,
hWndParent,
lpDialogFunc
);
Implementation
void DialogBoxIndirect(int hInstance, Pointer<DLGTEMPLATE> lpTemplate,
int hWndParent, Pointer<NativeFunction<DlgProc>> lpDialogFunc) =>
DialogBoxIndirectParam(hInstance, lpTemplate, hWndParent, lpDialogFunc, 0);