Commit 214a01ac authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

cryptui: Add a header bitmap to CryptUIWizImport's interior pages.

parent 56c7b55d
...@@ -43,4 +43,7 @@ IDB_CHECKS BITMAP LOADONCALL DISCARDABLE checks.bmp ...@@ -43,4 +43,7 @@ IDB_CHECKS BITMAP LOADONCALL DISCARDABLE checks.bmp
/* @makedep: certwatermark.bmp */ /* @makedep: certwatermark.bmp */
IDB_CERT_WATERMARK BITMAP LOADONCALL DISCARDABLE certwatermark.bmp IDB_CERT_WATERMARK BITMAP LOADONCALL DISCARDABLE certwatermark.bmp
/* @makedep: certheader.bmp */
IDB_CERT_HEADER BITMAP LOADONCALL DISCARDABLE certheader.bmp
#include "cryptui_En.rc" #include "cryptui_En.rc"
...@@ -137,6 +137,7 @@ ...@@ -137,6 +137,7 @@
#define IDB_CERT_WARNING 203 #define IDB_CERT_WARNING 203
#define IDB_CHECKS 204 #define IDB_CHECKS 204
#define IDB_CERT_WATERMARK 205 #define IDB_CERT_WATERMARK 205
#define IDB_CERT_HEADER 206
#define IDC_STATIC 2000 #define IDC_STATIC 2000
#define IDC_CERTIFICATE_ICON 2001 #define IDC_CERTIFICATE_ICON 2001
......
...@@ -4350,7 +4350,7 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent, ...@@ -4350,7 +4350,7 @@ 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_NEW | PSH_HEADER |
PSH_WATERMARK; PSH_WATERMARK;
hdr.hInstance = hInstance; hdr.hInstance = hInstance;
if (pwszWizardTitle) if (pwszWizardTitle)
...@@ -4360,6 +4360,7 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent, ...@@ -4360,6 +4360,7 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent,
hdr.u3.ppsp = pages; hdr.u3.ppsp = pages;
hdr.nPages = nPages; hdr.nPages = nPages;
hdr.u4.pszbmWatermark = MAKEINTRESOURCEW(IDB_CERT_WATERMARK); hdr.u4.pszbmWatermark = MAKEINTRESOURCEW(IDB_CERT_WATERMARK);
hdr.u5.pszbmHeader = MAKEINTRESOURCEW(IDB_CERT_HEADER);
PropertySheetW(&hdr); PropertySheetW(&hdr);
HeapFree(GetProcessHeap(), 0, data.fileName); HeapFree(GetProcessHeap(), 0, data.fileName);
if (data.freeSource && 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