155 |
SendDlgItemMessage (dlg, IDC_DECRYPT_PWD, EM_SETPASSWORDCHAR, |
SendDlgItemMessage (dlg, IDC_DECRYPT_PWD, EM_SETPASSWORDCHAR, |
156 |
(WPARAM)(UINT)'*', 0); |
(WPARAM)(UINT)'*', 0); |
157 |
CheckDlgButton (dlg, IDC_DECRYPT_HIDE, BST_CHECKED); |
CheckDlgButton (dlg, IDC_DECRYPT_HIDE, BST_CHECKED); |
158 |
|
SetDlgItemText (dlg, IDC_DECRYPT_HIDE, _("&Hide typing")); |
159 |
SetWindowText (dlg, _("Decryption")); |
SetWindowText (dlg, _("Decryption")); |
160 |
SetForegroundWindow (dlg); |
SetForegroundWindow (dlg); |
161 |
center_window (dlg, ctx->main_wnd); |
center_window (dlg, ctx->main_wnd); |
273 |
} |
} |
274 |
|
|
275 |
|
|
276 |
|
int |
277 |
|
pass_cb_cancelled (pass_cb_t cb) |
278 |
|
{ |
279 |
|
return cb->cancel; |
280 |
|
} |
281 |
|
|
282 |
|
|
283 |
/* Release the passphrase cache. */ |
/* Release the passphrase cache. */ |
284 |
void |
void |
285 |
free_pass_cache (void) |
free_pass_cache (void) |