Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7675bf42
Commit
7675bf42
authored
Jan 07, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Jan 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Add a (empty) advanced dialog to the certificate manager dialog.
parent
be1587ca
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
0 deletions
+40
-0
cryptui_En.rc
dlls/cryptui/cryptui_En.rc
+15
-0
cryptuires.h
dlls/cryptui/cryptuires.h
+1
-0
main.c
dlls/cryptui/main.c
+24
-0
No files found.
dlls/cryptui/cryptui_En.rc
View file @
7675bf42
...
...
@@ -314,3 +314,18 @@ BEGIN
PUSHBUTTON "&View...", IDC_MGR_VIEW, 269,218,51,14, WS_DISABLED
PUSHBUTTON "&Close", IDCANCEL, 277,249,51,14, BS_DEFPUSHBUTTON
END
IDD_CERT_MGR_ADVANCED DIALOG DISCARDABLE 0,0,248,176
CAPTION "Advanced Options"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Certificate purpose", grp1, 7,7,234,141, BS_GROUPBOX
LTEXT "Select one or more purposes to be listed when Advanced Purposes is selected.",
IDC_STATIC, 14,18,220,16
LTEXT "&Certificate purposes:", IDC_STATIC, 14,41,90,12, WS_TABSTOP
CONTROL "", IDC_CERTIFICATE_USAGES,"SysListView32",
LVS_REPORT|LVS_NOCOLUMNHEADER|LVS_SINGLESEL|WS_CHILD|WS_VISIBLE|WS_TABSTOP|WS_BORDER,
14,51,220,90
PUSHBUTTON "OK", IDOK, 132,155,51,14, BS_DEFPUSHBUTTON
PUSHBUTTON "Cancel", IDCANCEL, 190,155,51,14
END
dlls/cryptui/cryptuires.h
View file @
7675bf42
...
...
@@ -137,6 +137,7 @@
#define IDD_IMPORT_STORE 109
#define IDD_IMPORT_FINISH 110
#define IDD_CERT_MGR 111
#define IDD_CERT_MGR_ADVANCED 112
#define IDB_SMALL_ICONS 200
#define IDB_CERT 201
...
...
dlls/cryptui/main.c
View file @
7675bf42
...
...
@@ -298,6 +298,26 @@ static void refresh_store_certs(HWND hwnd)
show_store_certs
(
hwnd
,
cert_mgr_current_store
(
hwnd
));
}
static
LRESULT
CALLBACK
cert_mgr_advanced_dlg_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wp
,
LPARAM
lp
)
{
switch
(
msg
)
{
case
WM_COMMAND
:
switch
(
wp
)
{
case
IDOK
:
EndDialog
(
hwnd
,
IDOK
);
break
;
case
IDCANCEL
:
EndDialog
(
hwnd
,
IDCANCEL
);
break
;
}
break
;
}
return
0
;
}
static
LRESULT
CALLBACK
cert_mgr_dlg_proc
(
HWND
hwnd
,
UINT
msg
,
WPARAM
wp
,
LPARAM
lp
)
{
...
...
@@ -351,6 +371,10 @@ static LRESULT CALLBACK cert_mgr_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
case
((
CBN_SELCHANGE
<<
16
)
|
IDC_MGR_PURPOSE_SELECTION
):
refresh_store_certs
(
hwnd
);
break
;
case
IDC_MGR_ADVANCED
:
DialogBoxW
(
hInstance
,
MAKEINTRESOURCEW
(
IDD_CERT_MGR_ADVANCED
),
hwnd
,
cert_mgr_advanced_dlg_proc
);
break
;
case
IDCANCEL
:
free_certs
(
GetDlgItem
(
hwnd
,
IDC_MGR_CERTS
));
close_stores
(
GetDlgItem
(
hwnd
,
IDC_MGR_STORES
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment