Rob Shearman : credui: Set the focus to the username edit control.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Feb 5 07:44:50 CST 2007
Module: wine
Branch: master
Commit: 4ca5d44ce51cdd667a3c32430a0c84d7715adb08
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4ca5d44ce51cdd667a3c32430a0c84d7715adb08
Author: Rob Shearman <rob at codeweavers.com>
Date: Fri Jan 26 19:53:54 2007 +0000
credui: Set the focus to the username edit control.
---
dlls/credui/credui_main.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/credui/credui_main.c b/dlls/credui/credui_main.c
index 48ba132..6bd6330 100644
--- a/dlls/credui/credui_main.c
+++ b/dlls/credui/credui_main.c
@@ -73,7 +73,8 @@ static INT_PTR CALLBACK CredDialogProc(H
SetWindowLongPtrW(hwndDlg, DWLP_USER, (LONG_PTR)params);
if (params->pszCaptionText)
SetWindowTextW(hwndDlg, params->pszCaptionText);
- return TRUE;
+ SetFocus(GetDlgItem(hwndDlg, IDC_USERNAME));
+ return FALSE;
}
case WM_COMMAND:
switch (wParam)
More information about the wine-cvs
mailing list