Commit 56b38801 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

cryptui: Set default export file name based on input in CryptUIWizExport.

parent b2fefc0f
......@@ -5886,6 +5886,9 @@ static LRESULT CALLBACK export_file_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
data = (struct ExportWizData *)page->lParam;
SetWindowLongPtrW(hwnd, DWLP_USER, (LPARAM)data);
if (data->pExportInfo->pwszExportFileName)
SendMessageW(GetDlgItem(hwnd, IDC_EXPORT_FILENAME), WM_SETTEXT, 0,
(LPARAM)data->pExportInfo->pwszExportFileName);
break;
}
case WM_NOTIFY:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment