git://git.iain.cx/iain
/
nssm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d001e
)
Fix initial focus.
author
Iain Patterson
<me@iain.cx>
Fri, 22 Nov 2013 13:40:17 +0000
(13:40 +0000)
committer
Iain Patterson
<me@iain.cx>
Fri, 22 Nov 2013 13:59:14 +0000
(13:59 +0000)
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
patch
|
blob
|
history
diff --git
a/gui.cpp
b/gui.cpp
index
e28c044
..
2642ad1
100644
(file)
--- 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) {
\r
/* Creating the dialogue */
\r
case WM_INITDIALOG:
\r
+ SetFocus(GetDlgItem(window, IDC_NAME));
\r
+
\r
HWND tabs;
\r
HWND combo;
\r
tabs = GetDlgItem(window, IDC_TAB1);
\r