windows-nt/Source/XPSP1/NT/ds/win32/credui/credui.rc

171 lines
7.6 KiB
Plaintext
Raw Normal View History

2020-09-26 03:20:57 -05:00
//=============================================================================
// Copyright (c) 2000 Microsoft Corporation
//
// credui.rc
//
// Contains credential manager user interface resource definitions.
//
// Created 02/18/2000 johnstep (John Stephens)
//=============================================================================
#include <windows.h>
#include <winres.h>
#include <wincrui.h>
#include "resource.h"
// Version information:
#include <ntverp.h>
#define VER_FILETYPE VFT_DLL
#define VER_FILESUBTYPE VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR "Credential Manager User Interface"
#define VER_INTERNALNAME_STR "credui.dll"
#include <common.ver>
#include "consmsg.rc"
// Bitmaps:
IDB_BANNER BITMAP DISCARDABLE "banner.bmp"
IDB_TYPES BITMAP DISCARDABLE "types.bmp"
IDB_BRAND BITMAP DISCARDABLE "NET.bmp"
IDB_BRANDRIGHT BITMAP DISCARDABLE "NETright.bmp"
IDB_BRANDMID BITMAP DISCARDABLE "NETmid.bmp"
IDB_BRANDLEFT BITMAP DISCARDABLE "NETleft.bmp"
// Icons:
IDI_DEFAULT ICON DISCARDABLE "credui.ico"
// String Table:
STRINGTABLE
BEGIN
// Tooltip text
IDS_USERNAME_TIP_TITLE "Examples: "
IDS_USERNAME_TIP_TEXT "User Name\nusername@domain\nDOMAIN\username"
IDS_PASSWORD_TIP_TITLE "Problem:"
IDS_PASSWORD_TIP_TEXT "The password information is not correct."
IDS_WRONG_OLD_TIP_TITLE "Incorrect password:"
IDS_WRONG_OLD_TIP_TEXT "You typed your old password\nincorrectly. Please type it again."
IDS_NOT_SAME_TIP_TITLE "Passwords do not match:"
IDS_NOT_SAME_TIP_TEXT "Your confirmation does not match\nthe new password you typed.\nPlease try again."
IDS_TOO_SHORT_TIP_TITLE "Password is invalid:"
IDS_TOO_SHORT_TIP_TEXT "Your password is too short or\ndoes not meet other minimum\nrequirements. Please type a more\nsecure password."
IDS_CAPSLOCK_TIP_TITLE "Caps Lock is on:"
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."
IDS_BACKWARDS_TIP_TITLE "The smart card is in backwards:"
IDS_BACKWARDS_TIP_TEXT "Please remove the card and insert\ncorrectly."
IDS_LOGON_TIP_TITLE "Logon unsuccessful:"
IDS_LOGON_TIP_TEXT "Windows is unable to log you on.\nBe sure that your user name and\npassword are correct."
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."
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."
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"
IDS_EMAILNAME_TIP_TITLE "Type your full address:"
IDS_EMAILNAME_TIP_TEXT "Example: me@xyz.com"
// GUI - only text
IDS_DNS_CAPTION "Connect to %s"
IDS_NETBIOS_CAPTION "Connect to %s in %s"
IDS_GENERIC_CAPTION "Connect to %s"
IDS_WELCOME "Welcome to %s"
IDS_WELCOME_BACK "Welcome back to %s"
IDS_CONNECTING "Connecting to %s"
IDS_PASSWORD_STATIC "&Password:"
IDS_PIN_STATIC "&PIN:"
IDS_USERNAME_STATIC "&User name:"
IDS_CERTIFICATE_STATIC "&Certificate:"
IDS_LOOKUP_NAME "Searching..."
IDS_CARD_STATIC "&Smart card:"
IDS_SAVE "&Remember my password"
IDS_PASSPORT_SAVE "&Sign me in automatically"
IDS_EMAIL_NAME "&E-mail address:"
END
// Get password dialog box:
IDD_PASSWORD DIALOGEX 0, 0, 213, 158
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_CONTEXTHELP |
DS_NOIDLEMSG | DS_SHELLFONT | DS_SETFOREGROUND
FONT 8, "MS Shell Dlg"
BEGIN
EDITTEXT IDC_WELCOME_TEXT,7,48,199,8,ES_MULTILINE |
ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER |
NOT WS_TABSTOP | WS_GROUP
CONTROL "",IDC_CRED,WC_CREDENTIAL,WS_TABSTOP | WS_GROUP |
CRS_NORMAL,7,65,199,CREDUI_CONTROL_FULL_HEIGHT
DEFPUSHBUTTON "OK",IDOK,102,137,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,156,137,50,14
CONTROL IDB_BANNER,IDC_BANNER,"Static",SS_BITMAP | SS_REALSIZECONTROL,
0,0,213,37
END
// SSO-branded Get password dialog box:
IDD_BRANDEDPASSWORD DIALOG DISCARDABLE 0, 0, 213, 170
STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_SETFOREGROUND | DS_FIXEDSYS |
DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL IDB_BANNER,IDC_BANNER,"Static",SS_BITMAP | SS_CENTERIMAGE,4,4,
66,48
EDITTEXT IDC_WELCOME_TEXT,76,4,120,48,ES_MULTILINE |
ES_AUTOVSCROLL | ES_READONLY | NOT WS_BORDER | WS_GROUP |
NOT WS_TABSTOP
CONTROL "",IDC_CRED,WC_CREDENTIAL,WS_GROUP | WS_TABSTOP | CRS_SINGLESIGNON | CRS_NORMAL,
4,58,192,47
DEFPUSHBUTTON "OK",IDOK,89,105,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,146,105,50,14
// note: IDC_BRANDRIGHT should cover the full branding area These three bmps will be dynamically
// resized to fill the area defined by IDC_BRANDRIGHT. The sizes of IDC_BRANDLEFT and IDC_BRANDMID
// here are irrelevant - they will be resized during dialog init.
CONTROL "",IDC_BRANDRIGHT,"Static",SS_BITMAP | SS_CENTERIMAGE, 4,129, 192,22
CONTROL "",IDC_BRANDMID,"Static",SS_BITMAP, 4,129, 192,22
CONTROL "",IDC_BRANDLEFT,"Static",SS_BITMAP,4,129, 192,22
// CONTROL IDB_BRAND,IDC_BRAND,"Static",SS_BITMAP |SS_CENTERIMAGE ,4,129, 192,22
CONTROL "<A>Get a .NET Passport</A>",IDC_GETALINK,"Link Window",WS_TABSTOP,
4,156,83,8
CONTROL "<A>Help</A>",IDC_HELPLINK,"Link Window",WS_TABSTOP,98,156,16,8
END
// Change domain password dialog box:
IDD_CHANGE_PASSWORD DIALOGEX 0, 0, 239, 129
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU |
DS_NOIDLEMSG | DS_SHELLFONT | DS_SETFOREGROUND
CAPTION "Change Domain Password"
FONT 8, "MS Shell Dlg"
BEGIN
LTEXT "&Old Password:",IDC_STATIC,7,55,47,8
EDITTEXT IDC_PASSWORD,90,53,142,12,ES_PASSWORD |
ES_AUTOHSCROLL
LTEXT "&New Password:",IDC_STATIC,7,71,50,8
EDITTEXT IDC_NEW_PASSWORD,90,69,142,12,ES_PASSWORD |
ES_AUTOHSCROLL
LTEXT "&Confirm New Password:",IDC_STATIC,7,87,77,8
EDITTEXT IDC_CONFIRM_PASSWORD,90,85,142,12,ES_PASSWORD |
ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,126,108,50,14
PUSHBUTTON "Cancel",IDCANCEL,182,108,50,14
LTEXT "Your domain account has expired. Change your password now or click Cancel to try a different account.",
IDC_STATIC,39,9,193,16
ICON IDI_DEFAULT,IDC_STATIC,7,7,21,20
LTEXT "User name:",IDC_STATIC,7,39,37,8
LTEXT "",IDC_USERNAME,90,39,142,8
END
// Context help strings
STRINGTABLE DISCARDABLE
BEGIN
IDS_NOHELP "There is no Help available for this item."
IDH_USERNAMEEDIT "Provides a space for you to type or select the user name that is required by the server."
IDH_PASSWORDEDIT "Provides a space for you to type the password of the selected user."
IDH_SAVECHECKBOX "Specifies whether the user name and password will be saved for future reuse."
END