Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ed5d0d88
Commit
ed5d0d88
authored
Jan 08, 2009
by
Juan Lang
Committed by
Alexandre Julliard
Jan 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cryptui: Set appropriate radio button in CryptUIWizImport if the destination store is specified.
parent
9d6d8570
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
4 deletions
+22
-4
main.c
dlls/cryptui/main.c
+22
-4
No files found.
dlls/cryptui/main.c
View file @
ed5d0d88
...
...
@@ -5001,11 +5001,29 @@ static LRESULT CALLBACK import_store_dlg_proc(HWND hwnd, UINT msg, WPARAM wp,
data
=
(
struct
ImportWizData
*
)
page
->
lParam
;
SetWindowLongPtrW
(
hwnd
,
DWLP_USER
,
(
LPARAM
)
data
);
SendMessageW
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_AUTO_STORE
),
BM_CLICK
,
0
,
0
);
if
(
data
->
dwFlags
&
CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE
)
if
(
!
data
->
hDestCertStore
)
{
SendMessageW
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_AUTO_STORE
),
BM_CLICK
,
0
,
0
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_STORE
),
FALSE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_BROWSE_STORE
),
FALSE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_SPECIFY_STORE
),
FALSE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_STORE
),
FALSE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_BROWSE_STORE
),
FALSE
);
}
else
{
WCHAR
storeTitle
[
MAX_STRING_LEN
];
SendMessageW
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_SPECIFY_STORE
),
BM_CLICK
,
0
,
0
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_STORE
),
TRUE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_BROWSE_STORE
),
TRUE
);
EnableWindow
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_SPECIFY_STORE
),
!
(
data
->
dwFlags
&
CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE
));
LoadStringW
(
hInstance
,
IDS_IMPORT_DEST_DETERMINED
,
storeTitle
,
sizeof
(
storeTitle
)
/
sizeof
(
storeTitle
[
0
]));
SendMessageW
(
GetDlgItem
(
hwnd
,
IDC_IMPORT_STORE
),
WM_SETTEXT
,
0
,
(
LPARAM
)
storeTitle
);
}
break
;
}
case
WM_NOTIFY
:
...
...
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