summaryrefslogtreecommitdiff
path: root/options.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2011-10-22 23:30:30 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2011-10-22 23:30:30 +0300
commit2fb715f5ca9dd2c51b05e4974b644942c79440f9 (patch)
treecf4a72ee61abd77a5ff65d5fee04bd5290899b18 /options.cpp
parentd94de204ce513b7be134ed7a1aa83295b89719ec (diff)
modified: options.cpp
Diffstat (limited to 'options.cpp')
-rwxr-xr-xoptions.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp
index 825bd00..aab7884 100755
--- a/options.cpp
+++ b/options.cpp
@@ -1314,7 +1314,12 @@ static BOOL CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam,LP
DBWriteContactSettingDword(NULL, szGPGModuleName, "LoadKeyWindowY", load_key_rect.top);
}
break;
-
+ case WM_KEYDOWN:
+ {
+ if(wParam == 'A' && GetKeyState(VK_CONTROL))
+ SendMessage(GetWindow(hwndDlg, IDC_PUBLIC_KEY_EDIT), EM_SETSEL, 0, -1);
+ }
+ break;
}
return FALSE;