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

This commit is contained in:
Juan Lang 2009-01-24 14:16:19 -08:00 committed by Alexandre Julliard
parent b2fefc0ffd
commit 56b38801b1
1 changed files with 3 additions and 0 deletions

View File

@ -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: