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
8b2792d1
Commit
8b2792d1
authored
Jan 23, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Jan 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Enable/disable checkboxes in the format page of the export wizard depending on selection.
parent
7f9c8fa9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
main.c
dlls/cryptui/main.c
+33
-0
No files found.
dlls/cryptui/main.c
View file @
8b2792d1
...
...
@@ -5549,6 +5549,39 @@ static LRESULT CALLBACK export_format_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
}
break
;
}
case
WM_COMMAND
:
switch
(
HIWORD
(
wp
))
{
case
BN_CLICKED
:
switch
(
LOWORD
(
wp
))
{
case
IDC_EXPORT_FORMAT_DER
:
case
IDC_EXPORT_FORMAT_BASE64
:
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_EXPORT_CMS_INCLUDE_CHAIN
),
FALSE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_EXPORT_PFX_INCLUDE_CHAIN
),
FALSE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_EXPORT_PFX_STRONG_ENCRYPTION
),
FALSE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_EXPORT_PFX_DELETE_PRIVATE_KEY
),
FALSE
);
break
;
case
IDC_EXPORT_FORMAT_CMS
:
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_EXPORT_CMS_INCLUDE_CHAIN
),
TRUE
);
break
;
case
IDC_EXPORT_FORMAT_PFX
:
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_EXPORT_PFX_INCLUDE_CHAIN
),
TRUE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_EXPORT_PFX_STRONG_ENCRYPTION
),
TRUE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_EXPORT_PFX_DELETE_PRIVATE_KEY
),
TRUE
);
break
;
}
break
;
}
break
;
}
return
ret
;
}
...
...
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