windows-nt/Source/XPSP1/NT/shell/osshell/lmui/ntshrui/app.rc
2020-09-26 16:20:57 +08:00

263 lines
12 KiB
Plaintext

//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#ifdef APSTUDIO_INVOKED
#include "afxres.h"
#else // APSTUDIO_INVOKED
#include <windows.h>
#include <commctrl.h>
#define IDC_STATIC -1
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#ifdef APSTUDIO_INVOKED\r\n"
"#include ""afxres.h""\r\n"
"#else // APSTUDIO_INVOKED\r\n"
"#include <windows.h>\r\n"
"#include <commctrl.h>\r\n"
"#define IDC_STATIC -1\r\n"
"#endif // APSTUDIO_INVOKED\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""app.rc2""\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SHARE_PROPERTIES DIALOGEX 0, 0, 227, 166
STYLE DS_CONTEXTHELP | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sharing"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
ICON IDI_ICON_SHARE,IDC_SHARE_ICON,6,6,20,20
LTEXT "You can share this folder with other users on your network. To enable sharing for this folder, click Share this folder.",
IDC_SHARE_TOPTEXT,37,7,183,26
GROUPBOX "",IDC_STATIC,6,50,214,136
CONTROL "Do &not share this folder",IDC_SHARE_NOTSHARED,"Button",
BS_AUTORADIOBUTTON,13,38,89,10
CONTROL "&Share this folder",IDC_SHARE_SHAREDAS,"Button",
BS_AUTORADIOBUTTON,13,50,67,10
LTEXT "S&hare name:",IDC_SHARE_SHARENAME_TEXT,13,66,41,8
EDITTEXT IDC_SHARE_SHARENAME,64,63,149,14,ES_AUTOHSCROLL
COMBOBOX IDC_SHARE_SHARENAME_COMBO,64,63,149,76,CBS_DROPDOWNLIST |
CBS_SORT | WS_VSCROLL | WS_TABSTOP
LTEXT "&Comment:",IDC_SHARE_COMMENT_TEXT,13,84,32,8
EDITTEXT IDC_SHARE_COMMENT,64,81,149,14,ES_AUTOHSCROLL
LTEXT "User limit:",IDC_SHARE_LIMIT,13,104,31,8
CONTROL "&Maximum allowed",IDC_SHARE_MAXIMUM,"Button",
BS_AUTORADIOBUTTON,64,104,71,10
CONTROL "Allo&w this number of users:",IDC_SHARE_ALLOW,"Button",BS_AUTORADIOBUTTON,64,
119,100,10
EDITTEXT IDC_SHARE_ALLOW_VALUE,170,117,43,14,ES_AUTOHSCROLL
CONTROL "",IDC_SHARE_ALLOW_SPIN,"msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS,130,117,9,14
LTEXT "To set permissions for users who access this folder over the network, click Permissions.",
IDC_STATIC,13,140,142,16
PUSHBUTTON "&Permissions",IDC_SHARE_PERMISSIONS,163,140,50,14
LTEXT "To configure settings for offline access, click Caching.",
IDC_SHARE_CACHING_TEXT,13,165,142,18
PUSHBUTTON "Cachin&g",IDC_SHARE_CACHING,163,165,50,14
PUSHBUTTON "&Remove Share",IDC_SHARE_REMOVE,103,191,55,14,WS_GROUP
PUSHBUTTON "N&ew Share",IDC_SHARE_NEWSHARE,163,191,50,14
PUSHBUTTON "OK",IDOK,101,125,51,14
PUSHBUTTON "Cancel",IDCANCEL,160,125,51,14
END
IDD_NEW_SHARE DIALOGEX 6, 18, 249, 83
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_CONTEXTHELP
CAPTION "New Share"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
LTEXT "&Share name:",IDC_SHARE_SHARENAME_TEXT,6,8,46,8
EDITTEXT IDC_SHARE_SHARENAME,56,6,125,12,ES_AUTOHSCROLL
LTEXT "Co&mment:",IDC_SHARE_COMMENT_TEXT,6,22,46,8
EDITTEXT IDC_SHARE_COMMENT,56,20,125,12,ES_AUTOHSCROLL
GROUPBOX "User limit",IDC_SHARE_LIMIT,6,37,175,42,WS_GROUP
CONTROL "Ma&ximum allowed",IDC_SHARE_MAXIMUM,"Button",
BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,12,49,87,10
CONTROL "Allo&w this number of users:",IDC_SHARE_ALLOW,"Button",BS_AUTORADIOBUTTON,12,
62,110,10
EDITTEXT IDC_SHARE_ALLOW_VALUE,125,60,43,12,ES_MULTILINE |
WS_GROUP
CONTROL "",IDC_SHARE_ALLOW_SPIN,"msctls_updown32",
UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
UDS_ARROWKEYS | UDS_NOTHOUSANDS,81,60,6,12
DEFPUSHBUTTON "OK",IDOK,189,6,54,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,189,23,54,14
PUSHBUTTON "&Permissions...",IDC_SHARE_PERMISSIONS,189,40,54,14
END
IDD_SIMPLE_SHARE_PROPERTIES DIALOG DISCARDABLE 0, 0, PROP_MED_CXDLG, PROP_MED_CYDLG
STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION |
WS_SYSMENU
CAPTION "Sharing"
FONT 8, "MS Shell Dlg"
BEGIN
GROUPBOX "Local sharing and security",IDC_GB_SECURITY,7,4,212,70
ICON IDI_SECURITY,IDC_STATIC,14,15,20,20
CONTROL "To share this folder with other users of this computer only, drag it to the <A>Shared Documents</A> folder.",
IDC_LNK_SHARE_OPEN_SHARED_DOCS,"SysLink",WS_TABSTOP,40,15,
174,20
LTEXT "To make this folder and its subfolders private so that only you have access, select the following check box.",
IDC_SIMPLE_SHARE_SECURITY_STATIC,40,39,174,16
CONTROL "&Make this folder private",IDC_SHARE_NOTSHARED,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,40,60,174,10
GROUPBOX "Network sharing and security",IDC_GB_NETWORK_SHARING,7,
77,212,83
ICON IDI_NETWORK,IDC_SHARE_ICON,14,87,20,20
LTEXT "To share this folder with both network users and other users of this computer, select the first check box below and type a share name.",
IDC_SIMPLE_SHARE_NETWORKING_STATIC,40,87,174,25
CONTROL "&Share this folder on the network",IDC_SHARE_SHAREDAS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,40,116,174,10
LTEXT "S&hare name:",IDC_SHARE_SHARENAME_TEXT,40,131,41,8
EDITTEXT IDC_SHARE_SHARENAME,87,129,126,14,ES_AUTOHSCROLL
CONTROL "Allo&w network users to change my files",
IDC_SHARE_PERMISSIONS,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,40,146,174,10
ICON IDI_INFO,IDC_I_SHARE_INFORMATION,7,164,20,20,
SS_REALSIZEIMAGE
CONTROL "The options on this tab are disabled because this folder is in <A>another folder</A> that is private.",
IDC_LNK_SHARE_PARENT_PROTECTED,"SysLink",WS_TABSTOP,25,
164,199,37
CONTROL "To protect your computer from unauthorized access, sharing the root of a drive is not recommended.\n\n<A>If you understand the risk but still want to share the root of the drive, click here</A>.",
IDC_LNK_SHARE_DRIVE_BLOCADE,"SysLink",NOT WS_VISIBLE |
WS_TABSTOP,7,4,212,70
CONTROL "As a security measure, Windows has disabled remote access to this computer. However, you can enable remote access and safely share files by running the <A>Network Setup Wizard</A>.",
IDC_LNK_SHARE_NETWORK_WIZARD,"SysLink",WS_TABSTOP,40,87,
174,37
CONTROL "<A>If you understand the security risks but want to share files without running the wizard, click here</A>.",
IDC_LNK_SHARE_SECURITY_OVERRIDE,"SysLink",WS_TABSTOP,40,128,
174,27
LTEXT "All the options on this tab are disabled because this folder is used by the operating system.",
IDC_S_SHARE_SYSTEM_FOLDER,25,164,199,37,NOT WS_GROUP
CONTROL "Learn more about <A>sharing and security</A>.",
IDC_LNK_SHARE_HELP_SHARING_AND_SECURITY,"SysLink",WS_TABSTOP,7,
201,213,10
END
IDD_SIMPLE_SHARE_ENABLE_WARNING DIALOG DISCARDABLE 0, 0, 257, 96
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Enable File Sharing"
FONT 8, "MS Shell Dlg"
BEGIN
ICON "",IDC_ICON_INFO,7,7,20,20
LTEXT "If you enable sharing on this computer without using the Network Setup Wizard, the computer could be vulnerable to attacks from the Internet. We strongly recommend that you run the Network Setup Wizard to protect your computer."
IDC_STATIC,40,7,204,36
CONTROL "Use the wizard to enable file sharing (Recommended)",
IDC_RB_RUN_THE_WIZARD,"Button",BS_AUTORADIOBUTTON,40,44,
204,10
CONTROL "Just enable file sharing",
IDC_RB_ENABLE_FILE_SHARING,"Button",BS_AUTORADIOBUTTON,40,56,
204,10
DEFPUSHBUTTON "OK",IDOK,130,76,54,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,185,76,54,14
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON_SHARE ICON DISCARDABLE "filesvc.ico"
IDI_NETWORK ICON DISCARDABLE "group.ico"
IDI_SECURITY ICON DISCARDABLE "computer.ico"
IDI_INFO ICON DISCARDABLE "Info16.ico"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_MSG_NOT_FOUND "Could not find message 0x%08lx in the application message file."
IDS_NET_MSG_NOT_FOUND "Could not find message 0x%08lx in the network message file."
IDS_NO_NET_MSG "Could not find network error messages."
IDS_MSGTITLE "Sharing"
IDS_SHARING "S&haring and Security..."
IDS_MENUHELP "Displays the properties for sharing the selected folder"
IDS_ACLEDIT_PERM_GEN_NO_ACCESS "No Access"
IDS_ACLEDIT_PERM_GEN_READ "Read"
IDS_ACLEDIT_PERM_GEN_MODIFY "Change"
IDS_ACLEDIT_PERM_GEN_ALL "Full Control"
IDS_ACLEDIT_TITLE "Access Through &Share"
IDS_HELPFILENAME "ntshrui.hlp"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SHAREPERM_READ "Read"
IDS_SHAREPERM_MODIFY "Change"
IDS_SHAREPERM_ALL "Full Control"
IDS_CSCUI_HELPFILENAME "cscui.hlp"
IDS_PERMPAGE_TITLE "Share Permissions"
IDS_PRIVATE_CONFIRM_DELSHARE
"Making this folder private will prevent all of its subfolders from being shared on the network.\n\nAre you sure you want to make this folder private?"
IDS_PRIVATE_CREATE_PASSWORD
"You do not currently have a password on your user account. Even though you made\nthis folder private, anyone can log in as you and access this folder.\n\nDo you want to create a password for yourself?"
IDS_SIMPLE_SHARE_HELPFILE "filefold.hlp"
IDS_SHARE_HELP_SHARING_AND_SECURITY_PER
"hcp://services/subsite?node=TopLevelBucket_2/Networking_and_the_Web&topic=MS-ITS%3A%25HELP_LOCATION%25%5Cfilefold.chm%3A%3A/sharing_files_overviewP.htm&select=Networking_and_the_Web/Sharing_files__printers__and_other_resources"
IDS_SHARE_HELP_SHARING_AND_SECURITY_WKS
"hcp://services/subsite?node=TopLevelBucket_2/Networking_and_the_Web&topic=MS-ITS%3A%25HELP_LOCATION%25%5Cfilefold.chm%3A%3A/sharing_files_overviewW.htm&select=Networking_and_the_Web/Sharing_files__printers__and_other_resources"
IDS_PERM_PROGRESS_TITLE "Setting folder permissions..."
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "app.rc2"
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED