Leaked source code of windows server 2003
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.

169 lines
7.5 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_EMAILNAME_TIP_TITLE "Type your full address:"
  54. IDS_EMAILNAME_TIP_TEXT "Example: [email protected]"
  55. // GUI - only text
  56. IDS_DNS_CAPTION "Connect to %s"
  57. IDS_NETBIOS_CAPTION "Connect to %s in %s"
  58. IDS_GENERIC_CAPTION "Connect to %s"
  59. IDS_WELCOME "Welcome to %s"
  60. IDS_WELCOME_BACK "Welcome back to %s"
  61. IDS_CONNECTING "Connecting to %s"
  62. IDS_PASSWORD_STATIC "&Password:"
  63. IDS_PIN_STATIC "&PIN:"
  64. IDS_USERNAME_STATIC "&User name:"
  65. IDS_CERTIFICATE_STATIC "&Certificate:"
  66. IDS_LOOKUP_NAME "Searching..."
  67. IDS_CARD_STATIC "&Smart card:"
  68. IDS_SAVE "&Remember my password"
  69. IDS_PASSPORT_SAVE "&Sign me in automatically"
  70. IDS_EMAIL_NAME "&E-mail address:"
  71. END
  72. // Get password dialog box:
  73. IDD_PASSWORD DIALOGEX 0, 0, 213, 158
  74. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP |
  75. DS_NOIDLEMSG | DS_SHELLFONT | DS_SETFOREGROUND
  76. FONT 8, "MS Shell Dlg"
  77. BEGIN
  78. EDITTEXT IDC_WELCOME_TEXT,7,48,199,8,ES_MULTILINE |
  79. ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER |
  80. NOT WS_TABSTOP | WS_GROUP
  81. CONTROL "",IDC_CRED,WC_CREDENTIAL,WS_TABSTOP | WS_GROUP |
  82. CRS_NORMAL,7,65,199,CREDUI_CONTROL_FULL_HEIGHT
  83. DEFPUSHBUTTON "OK",IDOK,102,137,50,14,WS_GROUP
  84. PUSHBUTTON "Cancel",IDCANCEL,156,137,50,14
  85. CONTROL IDB_BANNER,IDC_BANNER,"Static",SS_BITMAP | SS_REALSIZECONTROL,
  86. 0,0,213,37
  87. END
  88. // SSO-branded Get password dialog box:
  89. IDD_BRANDEDPASSWORD DIALOG DISCARDABLE 0, 0, 213, 170
  90. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_SETFOREGROUND | DS_FIXEDSYS |
  91. DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  92. FONT 8, "MS Shell Dlg"
  93. BEGIN
  94. CONTROL IDB_BANNER,IDC_BANNER,"Static",SS_BITMAP | SS_CENTERIMAGE,4,4,
  95. 66,48
  96. EDITTEXT IDC_WELCOME_TEXT,76,4,120,48,ES_MULTILINE |
  97. ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_GROUP |
  98. NOT WS_TABSTOP
  99. CONTROL "",IDC_CRED,WC_CREDENTIAL,WS_GROUP | WS_TABSTOP | CRS_SINGLESIGNON | CRS_NORMAL,
  100. 4,58,192,47
  101. DEFPUSHBUTTON "OK",IDOK,89,105,50,14,WS_GROUP
  102. PUSHBUTTON "Cancel",IDCANCEL,146,105,50,14
  103. // note: IDC_BRANDRIGHT should cover the full branding area These three bmps will be dynamically
  104. // resized to fill the area defined by IDC_BRANDRIGHT. The sizes of IDC_BRANDLEFT and IDC_BRANDMID
  105. // here are irrelevant - they will be resized during dialog init.
  106. CONTROL "",IDC_BRANDRIGHT,"Static",SS_BITMAP | SS_CENTERIMAGE, 4,129, 192,22
  107. CONTROL "",IDC_BRANDMID,"Static",SS_BITMAP, 4,129, 192,22
  108. CONTROL "",IDC_BRANDLEFT,"Static",SS_BITMAP,4,129, 192,22
  109. // CONTROL IDB_BRAND,IDC_BRAND,"Static",SS_BITMAP |SS_CENTERIMAGE ,4,129, 192,22
  110. CONTROL "<A>Get a .NET Passport</A>",IDC_GETALINK,"Link Window",WS_TABSTOP,
  111. 4,156,83,8
  112. CONTROL "<A>Help</A>",IDC_HELPLINK,"Link Window",WS_TABSTOP,98,156,16,8
  113. END
  114. // Change domain password dialog box:
  115. IDD_CHANGE_PASSWORD DIALOGEX 0, 0, 239, 129
  116. STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU |
  117. DS_NOIDLEMSG | DS_SHELLFONT | DS_SETFOREGROUND
  118. CAPTION "Change Domain Password"
  119. FONT 8, "MS Shell Dlg"
  120. BEGIN
  121. LTEXT "&Old Password:",IDC_STATIC,7,55,47,8
  122. EDITTEXT IDC_PASSWORD,90,53,142,12,ES_PASSWORD |
  123. ES_AUTOHSCROLL
  124. LTEXT "&New Password:",IDC_STATIC,7,71,50,8
  125. EDITTEXT IDC_NEW_PASSWORD,90,69,142,12,ES_PASSWORD |
  126. ES_AUTOHSCROLL
  127. LTEXT "&Confirm New Password:",IDC_STATIC,7,87,77,8
  128. EDITTEXT IDC_CONFIRM_PASSWORD,90,85,142,12,ES_PASSWORD |
  129. ES_AUTOHSCROLL
  130. DEFPUSHBUTTON "OK",IDOK,126,108,50,14
  131. PUSHBUTTON "Cancel",IDCANCEL,182,108,50,14
  132. LTEXT "Your domain account has expired. Change your password now or click Cancel to try a different account.",
  133. IDC_STATIC,39,9,193,16
  134. ICON IDI_DEFAULT,IDC_STATIC,7,7,21,20
  135. LTEXT "User name:",IDC_STATIC,7,39,37,8
  136. LTEXT "",IDC_USERNAME,90,39,142,8
  137. END
  138. // Context help strings
  139. STRINGTABLE DISCARDABLE
  140. BEGIN
  141. IDS_NOHELP "There is no Help available for this item."
  142. IDH_USERNAMEEDIT "Provides a space for you to type or select the user name that is required by the server."
  143. IDH_PASSWORDEDIT "Provides a space for you to type the password of the selected user."
  144. IDH_SAVECHECKBOX "Specifies whether the user name and password will be saved for future reuse."
  145. END