Allow minimizing live dump progress dialog
@@ -184,7 +184,7 @@ HRESULT CALLBACK PhpLiveDumpProgressDialogCallbackProc(
if (NT_SUCCESS(context->LastStatus))
{
- config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION;
+ config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION | TDF_CAN_BE_MINIMIZED;
config.hMainIcon = PhGetApplicationIcon(FALSE);
config.dwCommonButtons = TDCBF_CLOSE_BUTTON;
config.pfCallback = PhpLiveDumpPageCallbackProc;
@@ -195,7 +195,7 @@ HRESULT CALLBACK PhpLiveDumpProgressDialogCallbackProc(
}
else
{
- config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION;
+ config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION | TDF_CAN_BE_MINIMIZED;
config.hMainIcon = PhGetApplicationIcon(FALSE);
config.dwCommonButtons = TDCBF_CLOSE_BUTTON;
config.pfCallback = PhpLiveDumpPageCallbackProc;
@@ -255,7 +255,7 @@ NTSTATUS PhpLiveDumpTaskDialogThread(
memset(&config, 0, sizeof(TASKDIALOGCONFIG));
config.cbSize = sizeof(TASKDIALOGCONFIG);
- config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION | TDF_SHOW_MARQUEE_PROGRESS_BAR | TDF_CALLBACK_TIMER;
+ config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION | TDF_SHOW_MARQUEE_PROGRESS_BAR | TDF_CALLBACK_TIMER | TDF_CAN_BE_MINIMIZED;
config.hMainIcon = PhGetApplicationIcon(FALSE);
config.dwCommonButtons = TDCBF_CANCEL_BUTTON;
config.pfCallback = PhpLiveDumpProgressDialogCallbackProc;
