TaskDialog function comctl32
The TaskDialog function creates, displays, and operates a task dialog. The task dialog contains application-defined message text and title, icons, and any combination of predefined push buttons. This function does not support the registration of a callback function to receive notifications.
HRESULT TaskDialog(
HWND hwndOwner,
HINSTANCE hInstance,
PCWSTR pszWindowTitle,
PCWSTR pszMainInstruction,
PCWSTR pszContent,
TASKDIALOG_COMMON_BUTTON_FLAGS dwCommonButtons,
PCWSTR pszIcon,
int *pnButton
);
Implementation
int TaskDialog(
int hwndOwner,
int hInstance,
Pointer<Utf16> pszWindowTitle,
Pointer<Utf16> pszMainInstruction,
Pointer<Utf16> pszContent,
int dwCommonButtons,
Pointer<Utf16> pszIcon,
Pointer<Int32> pnButton) =>
_TaskDialog(hwndOwner, hInstance, pszWindowTitle, pszMainInstruction,
pszContent, dwCommonButtons, pszIcon, pnButton);