Skip to content

Commit

Permalink
cryptui: Partially implement CryptUIDlgSelectCertificate.
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
  • Loading branch information
Alexander Morozov authored and julliard committed Oct 31, 2018
1 parent d23be05 commit 3056f9b
Show file tree
Hide file tree
Showing 49 changed files with 6,158 additions and 4,537 deletions.
17 changes: 17 additions & 0 deletions dlls/cryptui/cryptui.rc
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,11 @@ STRINGTABLE
IDS_EXPORT_PASSWORD_MISMATCH "The passwords do not match."
IDS_EXPORT_PRIVATE_KEY_UNAVAILABLE "Note: The private key for this certificate could not be opened."
IDS_EXPORT_PRIVATE_KEY_NON_EXPORTABLE "Note: The private key for this certificate is not exportable."
IDS_INTENDED_USE_COLUMN "Intended Use"
IDS_LOCATION_COLUMN "Location"
IDS_SELECT_CERT_TITLE "Select Certificate"
IDS_SELECT_CERT "Select a certificate"
IDS_NO_IMPL "Not yet implemented"
}

IDD_GENERAL DIALOG 0, 0, 255, 236
Expand Down Expand Up @@ -446,6 +451,18 @@ BEGIN
115,67,174,100
END

IDD_SELECT_CERT DIALOG 0,0,278,157
CAPTION "Select Certificate"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "Select a certificate you want to use", IDC_SELECT_DISPLAY_STRING, 7,7,264,26
CONTROL "", IDC_SELECT_CERTS, "SysListView32",
LVS_REPORT|LVS_SINGLESEL|WS_CHILD|WS_VISIBLE|WS_TABSTOP|WS_BORDER, 7,40,264,89
PUSHBUTTON "OK", IDOK, 91,136,51,14, BS_DEFPUSHBUTTON
PUSHBUTTON "Cancel", IDCANCEL, 149,136,51,14
PUSHBUTTON "&View Certificate", IDC_SELECT_VIEW_CERT, 207,136,65,14, WS_DISABLED
END

LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL

/* @makedep: smallicons.bmp */
Expand Down
12 changes: 12 additions & 0 deletions dlls/cryptui/cryptuires.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,13 @@
#define IDS_EXPORT_PRIVATE_KEY_UNAVAILABLE 1225
#define IDS_EXPORT_PRIVATE_KEY_NON_EXPORTABLE 1226

#define IDS_INTENDED_USE_COLUMN 1300
#define IDS_LOCATION_COLUMN 1301
#define IDS_SELECT_CERT_TITLE 1302
#define IDS_SELECT_CERT 1303

#define IDS_NO_IMPL 1400

#define IDD_GENERAL 100
#define IDD_DETAIL 101
#define IDD_HIERARCHY 102
Expand All @@ -192,6 +199,7 @@
#define IDD_EXPORT_FORMAT 116
#define IDD_EXPORT_FILE 117
#define IDD_EXPORT_FINISH 118
#define IDD_SELECT_CERT 119

#define IDB_SMALL_ICONS 200
#define IDB_CERT 201
Expand Down Expand Up @@ -273,4 +281,8 @@
#define IDC_EXPORT_PASSWORD 2915
#define IDC_EXPORT_PASSWORD_CONFIRM 2916

#define IDC_SELECT_DISPLAY_STRING 3000
#define IDC_SELECT_CERTS 3001
#define IDC_SELECT_VIEW_CERT 3002

#endif /* ndef __CRYPTUIRES_H_ */
Loading

0 comments on commit 3056f9b

Please sign in to comment.