From 88007006e2caf2c9f33c4099c0b04e3a806498aa Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 22 Nov 2013 13:40:17 +0000 Subject: [PATCH] Fix initial focus. Ensure that the service name field has the initial input focus. It already did for the install dialogue but didn't in the remove dialogue. --- gui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gui.cpp b/gui.cpp index e28c044..2642ad1 100644 --- a/gui.cpp +++ b/gui.cpp @@ -435,6 +435,8 @@ INT_PTR CALLBACK install_dlg(HWND window, UINT message, WPARAM w, LPARAM l) { switch (message) { /* Creating the dialogue */ case WM_INITDIALOG: + SetFocus(GetDlgItem(window, IDC_NAME)); + HWND tabs; HWND combo; tabs = GetDlgItem(window, IDC_TAB1); -- 2.7.4