cryptui: Add watermark image to welcome and finish pages of CryptUIWizImport.
This commit is contained in:
parent
27d9903ec9
commit
56c7b55dfa
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
|
@ -40,4 +40,7 @@ IDB_CERT_WARNING BITMAP LOADONCALL DISCARDABLE certwarning.bmp
|
||||||
/* @makedep: checks.bmp */
|
/* @makedep: checks.bmp */
|
||||||
IDB_CHECKS BITMAP LOADONCALL DISCARDABLE checks.bmp
|
IDB_CHECKS BITMAP LOADONCALL DISCARDABLE checks.bmp
|
||||||
|
|
||||||
|
/* @makedep: certwatermark.bmp */
|
||||||
|
IDB_CERT_WATERMARK BITMAP LOADONCALL DISCARDABLE certwatermark.bmp
|
||||||
|
|
||||||
#include "cryptui_En.rc"
|
#include "cryptui_En.rc"
|
||||||
|
|
|
@ -136,6 +136,7 @@
|
||||||
#define IDB_CERT_ERROR 202
|
#define IDB_CERT_ERROR 202
|
||||||
#define IDB_CERT_WARNING 203
|
#define IDB_CERT_WARNING 203
|
||||||
#define IDB_CHECKS 204
|
#define IDB_CHECKS 204
|
||||||
|
#define IDB_CERT_WATERMARK 205
|
||||||
|
|
||||||
#define IDC_STATIC 2000
|
#define IDC_STATIC 2000
|
||||||
#define IDC_CERTIFICATE_ICON 2001
|
#define IDC_CERTIFICATE_ICON 2001
|
||||||
|
|
|
@ -4350,7 +4350,8 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent,
|
||||||
memset(&hdr, 0, sizeof(hdr));
|
memset(&hdr, 0, sizeof(hdr));
|
||||||
hdr.dwSize = sizeof(hdr);
|
hdr.dwSize = sizeof(hdr);
|
||||||
hdr.hwndParent = hwndParent;
|
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;
|
hdr.hInstance = hInstance;
|
||||||
if (pwszWizardTitle)
|
if (pwszWizardTitle)
|
||||||
hdr.pszCaption = pwszWizardTitle;
|
hdr.pszCaption = pwszWizardTitle;
|
||||||
|
@ -4358,6 +4359,7 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent,
|
||||||
hdr.pszCaption = MAKEINTRESOURCEW(IDS_IMPORT_WIZARD);
|
hdr.pszCaption = MAKEINTRESOURCEW(IDS_IMPORT_WIZARD);
|
||||||
hdr.u3.ppsp = pages;
|
hdr.u3.ppsp = pages;
|
||||||
hdr.nPages = nPages;
|
hdr.nPages = nPages;
|
||||||
|
hdr.u4.pszbmWatermark = MAKEINTRESOURCEW(IDB_CERT_WATERMARK);
|
||||||
PropertySheetW(&hdr);
|
PropertySheetW(&hdr);
|
||||||
HeapFree(GetProcessHeap(), 0, data.fileName);
|
HeapFree(GetProcessHeap(), 0, data.fileName);
|
||||||
if (data.freeSource &&
|
if (data.freeSource &&
|
||||||
|
|
Loading…
Reference in New Issue