From 03de885b133fe7355a1d758ad91cf374132f516f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 19 Sep 2015 23:49:34 +0200 Subject: Windows: Set keyboard focus to PIM field when "Use PIM" is checked. --- src/ExpandVolume/WinMain.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ExpandVolume') 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; } -- cgit v1.2.3