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

This commit is contained in:
Juan Lang 2008-12-24 08:03:10 -08:00 committed by Alexandre Julliard
parent 27d9903ec9
commit 56c7b55dfa
4 changed files with 7 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

View File

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

View File

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

View File

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