diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-09-19 23:49:34 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-09-26 17:43:47 +0200 |
commit | 03de885b133fe7355a1d758ad91cf374132f516f (patch) | |
tree | a4b52e9ffeb9b6e7c54791ec9d9764cc2863bdff /src/ExpandVolume/WinMain.cpp | |
parent | 6b3a26bc407ea66ec30130a271868f185f6aa36e (diff) | |
download | VeraCrypt-03de885b133fe7355a1d758ad91cf374132f516f.tar.gz VeraCrypt-03de885b133fe7355a1d758ad91cf374132f516f.zip |
Windows: Set keyboard focus to PIM field when "Use PIM" is checked.
Diffstat (limited to 'src/ExpandVolume/WinMain.cpp')
-rw-r--r-- | src/ExpandVolume/WinMain.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ExpandVolume/WinMain.cpp b/src/ExpandVolume/WinMain.cpp index d07bc11e..502977c5 100644 --- a/src/ExpandVolume/WinMain.cpp +++ b/src/ExpandVolume/WinMain.cpp @@ -612,6 +612,8 @@ BOOL CALLBACK ExtcvPasswordDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARA ShowWindow (GetDlgItem( hwndDlg, IDT_PIM), SW_SHOW);
ShowWindow (GetDlgItem( hwndDlg, IDC_PIM), SW_SHOW);
ShowWindow (GetDlgItem( hwndDlg, IDC_PIM_HELP), SW_SHOW);
+
+ SetFocus (GetDlgItem (hwndDlg, IDC_PIM));
return 1;
}
|