credui: Fix the order of the controls in the dialog so that the keyboard shortcuts work correctly and so that tabbing through the controls behaves as the user expects.

Robert Shearman rob at codeweavers.com
Tue Feb 6 10:11:06 CST 2007


---
  dlls/credui/credui.rc |    8 ++++----
  1 files changed, 4 insertions(+), 4 deletions(-)
-------------- next part --------------
diff --git a/dlls/credui/credui.rc b/dlls/credui/credui.rc
index 7490026..0417aa5 100644
--- a/dlls/credui/credui.rc
+++ b/dlls/credui/credui.rc
@@ -31,12 +31,12 @@ STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_
 CAPTION "Enter User Name and Password"
 FONT 8, "MS Shell Dlg"
 BEGIN
-    DEFPUSHBUTTON   "OK",IDOK,7,61,50,14
-    PUSHBUTTON      "Cancel",IDCANCEL,67,61,50,14
     LTEXT           "&User Name:",IDC_STATIC,7,10,72,12,SS_CENTERIMAGE
-    LTEXT           "&Password:",IDC_STATIC,7,27,72,12,SS_CENTERIMAGE
-    LTEXT           "&Domain Name",IDC_STATIC,7,44,72,12,SS_CENTERIMAGE
     EDITTEXT        IDC_USERNAME,80,10,130,12,ES_AUTOHSCROLL
+    LTEXT           "&Password:",IDC_STATIC,7,27,72,12,SS_CENTERIMAGE
     EDITTEXT        IDC_PASSWORD,80,27,130,12,ES_PASSWORD | ES_AUTOHSCROLL
+    LTEXT           "&Domain Name",IDC_STATIC,7,44,72,12,SS_CENTERIMAGE
     EDITTEXT        IDC_DOMAIN,80,44,130,12,ES_AUTOHSCROLL
+    DEFPUSHBUTTON   "OK",IDOK,7,61,50,14
+    PUSHBUTTON      "Cancel",IDCANCEL,67,61,50,14
 END


More information about the wine-patches mailing list