Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

170 lines
7.6 KiB

  1. //=============================================================================
  2. // Copyright (c) 2000 Microsoft Corporation
  3. //
  4. // credui.rc
  5. //
  6. // Contains credential manager user interface resource definitions.
  7. //
  8. // Created 02/18/2000 johnstep (John Stephens)
  9. //=============================================================================
  10. #include <windows.h>
  11. #include <winres.h>
  12. #include <wincrui.h>
  13. #include "resource.h"
  14. // Version information:
  15. #include <ntverp.h>
  16. #define VER_FILETYPE VFT_DLL
  17. #define VER_FILESUBTYPE VFT2_UNKNOWN
  18. #define VER_FILEDESCRIPTION_STR "Credential Manager User Interface"
  19. #define VER_INTERNALNAME_STR "credui.dll"
  20. #include <common.ver>
  21. #include "consmsg.rc"
  22. // Bitmaps:
  23. IDB_BANNER BITMAP DISCARDABLE "banner.bmp"
  24. IDB_TYPES BITMAP DISCARDABLE "types.bmp"
  25. IDB_BRAND BITMAP DISCARDABLE "NET.bmp"
  26. IDB_BRANDRIGHT BITMAP DISCARDABLE "NETright.bmp"
  27. IDB_BRANDMID BITMAP DISCARDABLE "NETmid.bmp"
  28. IDB_BRANDLEFT BITMAP DISCARDABLE "NETleft.bmp"
  29. // Icons:
  30. IDI_DEFAULT ICON DISCARDABLE "credui.ico"
  31. // String Table:
  32. STRINGTABLE
  33. BEGIN
  34. // Tooltip text
  35. IDS_USERNAME_TIP_TITLE "Examples: "
  36. IDS_USERNAME_TIP_TEXT "User Name\nusername@domain\nDOMAIN\username"
  37. IDS_PASSWORD_TIP_TITLE "Problem:"
  38. IDS_PASSWORD_TIP_TEXT "The password information is not correct."
  39. IDS_WRONG_OLD_TIP_TITLE "Incorrect password:"
  40. IDS_WRONG_OLD_TIP_TEXT "You typed your old password\nincorrectly. Please type it again."
  41. IDS_NOT_SAME_TIP_TITLE "Passwords do not match:"
  42. IDS_NOT_SAME_TIP_TEXT "Your confirmation does not match\nthe new password you typed.\nPlease try again."
  43. IDS_TOO_SHORT_TIP_TITLE "Password is invalid:"
  44. IDS_TOO_SHORT_TIP_TEXT "Your password is too short or\ndoes not meet other minimum\nrequirements. Please type a more\nsecure password."
  45. IDS_CAPSLOCK_TIP_TITLE "Caps Lock is on:"
  46. IDS_CAPSLOCK_TIP_TEXT "Having Caps Lock on may cause you\nto enter your password incorrectly.\n\nYou should press Caps Lock to turn it\n off before entering your password."
  47. IDS_BACKWARDS_TIP_TITLE "The smart card is in backwards:"
  48. IDS_BACKWARDS_TIP_TEXT "Please remove the card and insert\ncorrectly."
  49. IDS_LOGON_TIP_TITLE "Logon unsuccessful:"
  50. IDS_LOGON_TIP_TEXT "Windows is unable to log you on.\nBe sure that your user name and\npassword are correct."
  51. IDS_LOGON_TIP_CAPS "Windows is unable to log you on.\nBe sure that your user name and\npassword are correct.\n\nYou should press Caps Lock to turn\nit off before typing your password."
  52. IDS_DOWNGRADE_TIP_TEXT "The user name you typed is the same\nas the user name you logged in with.\nThat user name has already been\ntried. A domain controller cannot be\nfound to verify that user name."
  53. IDS_DOWNGRADE_CMD_TEXT "Invalid user name.\nThe user name you typed is the same as the user name you logged in with.\nThat user name has already been tried. A domain controller cannot be\nfound to verify that user name.\n"
  54. IDS_EMAILNAME_TIP_TITLE "Type your full address:"
  55. IDS_EMAILNAME_TIP_TEXT "Example: [email protected]"
  56. // GUI - only text
  57. IDS_DNS_CAPTION "Connect to %s"
  58. IDS_NETBIOS_CAPTION "Connect to %s in %s"
  59. IDS_GENERIC_CAPTION "Connect to %s"
  60. IDS_WELCOME "Welcome to %s"
  61. IDS_WELCOME_BACK "Welcome back to %s"
  62. IDS_CONNECTING "Connecting to %s"
  63. IDS_PASSWORD_STATIC "&Password:"
  64. IDS_PIN_STATIC "&PIN:"
  65. IDS_USERNAME_STATIC "&User name:"
  66. IDS_CERTIFICATE_STATIC "&Certificate:"
  67. IDS_LOOKUP_NAME "Searching..."
  68. IDS_CARD_STATIC "&Smart card:"
  69. IDS_SAVE "&Remember my password"
  70. IDS_PASSPORT_SAVE "&Sign me in automatically"
  71. IDS_EMAIL_NAME "&E-mail address:"
  72. END
  73. // Get password dialog box:
  74. IDD_PASSWORD DIALOGEX 0, 0, 213, 158
  75. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP |
  76. DS_NOIDLEMSG | DS_SHELLFONT | DS_SETFOREGROUND
  77. FONT 8, "MS Shell Dlg"
  78. BEGIN
  79. EDITTEXT IDC_WELCOME_TEXT,7,48,199,8,ES_MULTILINE |
  80. ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER |
  81. NOT WS_TABSTOP | WS_GROUP
  82. CONTROL "",IDC_CRED,WC_CREDENTIAL,WS_TABSTOP | WS_GROUP |
  83. CRS_NORMAL,7,65,199,CREDUI_CONTROL_FULL_HEIGHT
  84. DEFPUSHBUTTON "OK",IDOK,102,137,50,14,WS_GROUP
  85. PUSHBUTTON "Cancel",IDCANCEL,156,137,50,14
  86. CONTROL IDB_BANNER,IDC_BANNER,"Static",SS_BITMAP | SS_REALSIZECONTROL,
  87. 0,0,213,37
  88. END
  89. // SSO-branded Get password dialog box:
  90. IDD_BRANDEDPASSWORD DIALOG DISCARDABLE 0, 0, 213, 170
  91. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_SETFOREGROUND | DS_FIXEDSYS |
  92. DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  93. FONT 8, "MS Shell Dlg"
  94. BEGIN
  95. CONTROL IDB_BANNER,IDC_BANNER,"Static",SS_BITMAP | SS_CENTERIMAGE,4,4,
  96. 66,48
  97. EDITTEXT IDC_WELCOME_TEXT,76,4,120,48,ES_MULTILINE |
  98. ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_GROUP |
  99. NOT WS_TABSTOP
  100. CONTROL "",IDC_CRED,WC_CREDENTIAL,WS_GROUP | WS_TABSTOP | CRS_SINGLESIGNON | CRS_NORMAL,
  101. 4,58,192,47
  102. DEFPUSHBUTTON "OK",IDOK,89,105,50,14,WS_GROUP
  103. PUSHBUTTON "Cancel",IDCANCEL,146,105,50,14
  104. // note: IDC_BRANDRIGHT should cover the full branding area These three bmps will be dynamically
  105. // resized to fill the area defined by IDC_BRANDRIGHT. The sizes of IDC_BRANDLEFT and IDC_BRANDMID
  106. // here are irrelevant - they will be resized during dialog init.
  107. CONTROL "",IDC_BRANDRIGHT,"Static",SS_BITMAP | SS_CENTERIMAGE, 4,129, 192,22
  108. CONTROL "",IDC_BRANDMID,"Static",SS_BITMAP, 4,129, 192,22
  109. CONTROL "",IDC_BRANDLEFT,"Static",SS_BITMAP,4,129, 192,22
  110. // CONTROL IDB_BRAND,IDC_BRAND,"Static",SS_BITMAP |SS_CENTERIMAGE ,4,129, 192,22
  111. CONTROL "<A>Get a .NET Passport</A>",IDC_GETALINK,"Link Window",WS_TABSTOP,
  112. 4,156,83,8
  113. CONTROL "<A>Help</A>",IDC_HELPLINK,"Link Window",WS_TABSTOP,98,156,16,8
  114. END
  115. // Change domain password dialog box:
  116. IDD_CHANGE_PASSWORD DIALOGEX 0, 0, 239, 129
  117. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU |
  118. DS_NOIDLEMSG | DS_SHELLFONT | DS_SETFOREGROUND
  119. CAPTION "Change Domain Password"
  120. FONT 8, "MS Shell Dlg"
  121. BEGIN
  122. LTEXT "&Old Password:",IDC_STATIC,7,55,47,8
  123. EDITTEXT IDC_PASSWORD,90,53,142,12,ES_PASSWORD |
  124. ES_AUTOHSCROLL
  125. LTEXT "&New Password:",IDC_STATIC,7,71,50,8
  126. EDITTEXT IDC_NEW_PASSWORD,90,69,142,12,ES_PASSWORD |
  127. ES_AUTOHSCROLL
  128. LTEXT "&Confirm New Password:",IDC_STATIC,7,87,77,8
  129. EDITTEXT IDC_CONFIRM_PASSWORD,90,85,142,12,ES_PASSWORD |
  130. ES_AUTOHSCROLL
  131. DEFPUSHBUTTON "OK",IDOK,126,108,50,14
  132. PUSHBUTTON "Cancel",IDCANCEL,182,108,50,14
  133. LTEXT "Your domain account has expired. Change your password now or click Cancel to try a different account.",
  134. IDC_STATIC,39,9,193,16
  135. ICON IDI_DEFAULT,IDC_STATIC,7,7,21,20
  136. LTEXT "User name:",IDC_STATIC,7,39,37,8
  137. LTEXT "",IDC_USERNAME,90,39,142,8
  138. END
  139. // Context help strings
  140. STRINGTABLE DISCARDABLE
  141. BEGIN
  142. IDS_NOHELP "There is no Help available for this item."
  143. IDH_USERNAMEEDIT "Provides a space for you to type or select the user name that is required by the server."
  144. IDH_PASSWORDEDIT "Provides a space for you to type the password of the selected user."
  145. IDH_SAVECHECKBOX "Specifies whether the user name and password will be saved for future reuse."
  146. END