diff --git a/dlls/cryptui/certheader.bmp b/dlls/cryptui/certheader.bmp new file mode 100644 index 00000000000..de67d4ed738 Binary files /dev/null and b/dlls/cryptui/certheader.bmp differ diff --git a/dlls/cryptui/cryptui.rc b/dlls/cryptui/cryptui.rc index 720705dbbc9..c0bc8233aa5 100644 --- a/dlls/cryptui/cryptui.rc +++ b/dlls/cryptui/cryptui.rc @@ -43,4 +43,7 @@ IDB_CHECKS BITMAP LOADONCALL DISCARDABLE checks.bmp /* @makedep: 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" diff --git a/dlls/cryptui/cryptuires.h b/dlls/cryptui/cryptuires.h index 947da7148e0..14f576ef19c 100644 --- a/dlls/cryptui/cryptuires.h +++ b/dlls/cryptui/cryptuires.h @@ -137,6 +137,7 @@ #define IDB_CERT_WARNING 203 #define IDB_CHECKS 204 #define IDB_CERT_WATERMARK 205 +#define IDB_CERT_HEADER 206 #define IDC_STATIC 2000 #define IDC_CERTIFICATE_ICON 2001 diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c index 35b3815f33e..987599d6f64 100644 --- a/dlls/cryptui/main.c +++ b/dlls/cryptui/main.c @@ -4350,7 +4350,7 @@ 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_NEW | PSH_HEADER | PSH_WATERMARK; hdr.hInstance = hInstance; if (pwszWizardTitle) @@ -4360,6 +4360,7 @@ static BOOL show_import_ui(DWORD dwFlags, HWND hwndParent, hdr.u3.ppsp = pages; hdr.nPages = nPages; hdr.u4.pszbmWatermark = MAKEINTRESOURCEW(IDB_CERT_WATERMARK); + hdr.u5.pszbmHeader = MAKEINTRESOURCEW(IDB_CERT_HEADER); PropertySheetW(&hdr); HeapFree(GetProcessHeap(), 0, data.fileName); if (data.freeSource &&