Fix tabbing between GUI fields.

The tab key didn't switch between fields in the GUI because we didn't
insert a call to IsDialogMessage() in the message loop.
master
Iain Patterson 11 years ago
parent 4550eb2281
commit 3930cee5d4

@ -28,6 +28,7 @@ int nssm_gui(int resource, char *name) {
/* Go! */ /* Go! */
MSG message; MSG message;
while (GetMessage(&message, 0, 0, 0)) { while (GetMessage(&message, 0, 0, 0)) {
if (IsDialogMessage(dlg, &message)) continue;
TranslateMessage(&message); TranslateMessage(&message);
DispatchMessage(&message); DispatchMessage(&message);
} }

Loading…
Cancel
Save