cryptui: Add a header bitmap to CryptUIWizImport's interior pages.
This commit is contained in:
parent
56c7b55dfa
commit
214a01ac6c
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 &&
|
||||
|
|
Loading…
Reference in New Issue