Commit 4ca5d44c authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

credui: Set the focus to the username edit control.

parent 1ba20d3b
......@@ -73,7 +73,8 @@ static INT_PTR CALLBACK CredDialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam,
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment