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

cryptui: Add watermark image to welcome and finish pages of CryptUIWizImport.

parent 27d9903e
......@@ -40,4 +40,7 @@ IDB_CERT_WARNING BITMAP LOADONCALL DISCARDABLE certwarning.bmp
/* @makedep: checks.bmp */
IDB_CHECKS BITMAP LOADONCALL DISCARDABLE checks.bmp
/* @makedep: certwatermark.bmp */
IDB_CERT_WATERMARK BITMAP LOADONCALL DISCARDABLE certwatermark.bmp
#include "cryptui_En.rc"
......@@ -136,6 +136,7 @@
#define IDB_CERT_ERROR 202
#define IDB_CERT_WARNING 203
#define IDB_CHECKS 204
#define IDB_CERT_WATERMARK 205
#define IDC_STATIC 2000
#define IDC_CERTIFICATE_ICON 2001
......
......@@ -4350,7 +4350,8 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent,
memset(&hdr, 0, sizeof(hdr));
hdr.dwSize = sizeof(hdr);
hdr.hwndParent = hwndParent;
hdr.dwFlags = PSH_PROPSHEETPAGE | PSH_WIZARD97_OLD | PSH_HEADER;
hdr.dwFlags = PSH_PROPSHEETPAGE | PSH_WIZARD97_OLD | PSH_HEADER |
PSH_WATERMARK;
hdr.hInstance = hInstance;
if (pwszWizardTitle)
hdr.pszCaption = pwszWizardTitle;
......@@ -4358,6 +4359,7 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent,
hdr.pszCaption = MAKEINTRESOURCEW(IDS_IMPORT_WIZARD);
hdr.u3.ppsp = pages;
hdr.nPages = nPages;
hdr.u4.pszbmWatermark = MAKEINTRESOURCEW(IDB_CERT_WATERMARK);
PropertySheetW(&hdr);
HeapFree(GetProcessHeap(), 0, data.fileName);
if (data.freeSource &&
......
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