mirror of https://github.com/tongzx/nt5src
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.
423 lines
16 KiB
423 lines
16 KiB
//Microsoft Developer Studio generated resource script.
|
|
//
|
|
#include "resource.h"
|
|
|
|
#define APSTUDIO_READONLY_SYMBOLS
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 2 resource.
|
|
//
|
|
#include "afxres.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#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
|
|
"#include ""afxres.h""\r\n"
|
|
"\0"
|
|
END
|
|
|
|
3 TEXTINCLUDE DISCARDABLE
|
|
BEGIN
|
|
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
|
|
"#define _AFX_NO_OLE_RESOURCES\r\n"
|
|
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
|
|
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
|
|
"\r\n"
|
|
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
|
|
"#ifdef _WIN32\r\n"
|
|
"LANGUAGE 9, 1\r\n"
|
|
"#pragma code_page(1252)\r\n"
|
|
"#endif\r\n"
|
|
"#include ""res\\Romaine.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
|
|
"#include ""afxres.rc"" // Standard components\r\n"
|
|
"#endif\0"
|
|
END
|
|
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
// Icon with lowest ID value placed first to ensure application icon
|
|
// remains consistent on all systems.
|
|
IDR_MAINFRAME ICON DISCARDABLE "res\\Romaine.ico"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// DESIGNINFO
|
|
//
|
|
|
|
#ifdef APSTUDIO_INVOKED
|
|
GUIDELINES DESIGNINFO DISCARDABLE
|
|
BEGIN
|
|
IDD_WELCOME_DLG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 269
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 134
|
|
END
|
|
|
|
IDD_NAME_DLG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 269
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 133
|
|
END
|
|
|
|
IDD_GROUP_TYPE_DLG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 269
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 133
|
|
END
|
|
|
|
IDD_LOCAL_USERS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 269
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 133
|
|
END
|
|
|
|
IDD_GLOBAL_USERS, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 269
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 133
|
|
END
|
|
|
|
IDD_FINISH_DLG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 269
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 133
|
|
END
|
|
|
|
IDD_GROUP_LIST_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 269
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 133
|
|
END
|
|
|
|
IDD_LR_DIALOG, DIALOG
|
|
BEGIN
|
|
LEFTMARGIN, 7
|
|
RIGHTMARGIN, 269
|
|
TOPMARGIN, 7
|
|
BOTTOMMARGIN, 133
|
|
END
|
|
END
|
|
#endif // APSTUDIO_INVOKED
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
IDD_MACHINE_DLG DIALOG DISCARDABLE 0, 0, 276, 140
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "&Computer name:",IDC_STATIC,91,39,151,8
|
|
EDITTEXT IDC_MACHINE_NAME,91,49,181,14,ES_AUTOHSCROLL
|
|
CONTROL "Tree1",IDC_SERVER_TREE,"SysTreeView32",TVS_HASBUTTONS |
|
|
TVS_HASLINES | TVS_LINESATROOT | WS_BORDER | WS_TABSTOP,
|
|
91,67,181,73
|
|
LTEXT "Type the computer or domain name where you want to manage group accounts. Computer names are preceded by \\\\. Or select the computer or domain name from the list.",
|
|
IDC_STATIC,91,0,182,34
|
|
CONTROL 143,IDC_PICTURE_BOX,"Static",SS_BITMAP | SS_SUNKEN,0,0,
|
|
80,140
|
|
END
|
|
|
|
IDD_WELCOME_DLG DIALOG DISCARDABLE 0, 0, 276, 141
|
|
STYLE WS_MINIMIZEBOX | WS_POPUP | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL 143,IDC_PICTURE_BOX,"Static",SS_BITMAP | SS_SUNKEN,0,0,
|
|
80,140
|
|
LTEXT "",IDC_WELCOME,91,7,183,16
|
|
LTEXT "With this wizard you can create a new group and add members to that group. You can also change the members in an existing group.",
|
|
IDC_STATIC,91,27,178,24
|
|
LTEXT "What do you want to do?",IDC_STATIC,91,66,81,8
|
|
CONTROL "&Create a new group and add members",
|
|
IDC_NEW_GROUP_RADIO,"Button",BS_AUTORADIOBUTTON |
|
|
WS_GROUP,91,80,136,10
|
|
CONTROL "&Modify an existing group",IDC_RADIO2,"Button",
|
|
BS_AUTORADIOBUTTON,91,94,122,10
|
|
END
|
|
|
|
IDD_NAME_DLG DIALOG DISCARDABLE 0, 0, 276, 140
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "&Type the name you want to give this new group:",
|
|
IDC_STATIC,92,14,178,8
|
|
EDITTEXT IDC_GROUP_NAME,92,24,184,14,ES_AUTOHSCROLL
|
|
LTEXT "Type a &description for this group (optional):",
|
|
IDC_STATIC,92,59,177,8
|
|
EDITTEXT IDC_DESCRIPTION,92,69,184,14,ES_AUTOHSCROLL
|
|
CONTROL 143,IDC_PICTURE_BOX,"Static",SS_BITMAP | SS_SUNKEN,0,0,
|
|
80,140
|
|
END
|
|
|
|
IDD_GROUP_TYPE_DLG DIALOG DISCARDABLE 0, 0, 276, 140
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "You can create two types of groups:",IDC_STATIC,91,6,
|
|
159,8
|
|
CONTROL "&Global Group",IDC_GROUP_TYPE_RADIO,"Button",
|
|
BS_AUTORADIOBUTTON | WS_GROUP,91,108,64,10
|
|
CONTROL "&Local Group",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,91,
|
|
123,59,10
|
|
LTEXT "A global group, which contains user accounts from the domain where it is created. A global group can be used in its own domain and in trusting domains.",
|
|
IDC_STATIC,91,22,184,25
|
|
CONTROL 143,IDC_PICTURE_BOX,"Static",SS_BITMAP,0,0,80,140
|
|
LTEXT "A local group, which contains user and group accounts from its own domain and from trusted domains. A local group can only be used on servers in its own domain.",
|
|
IDC_STATIC,91,56,183,25
|
|
LTEXT "What type of group do you want to create?",IDC_STATIC,
|
|
91,88,136,8
|
|
END
|
|
|
|
IDD_LOCAL_USERS DIALOG DISCARDABLE 0, 0, 276, 140
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "&Domain",IDC_STATIC,0,24,59,8
|
|
COMBOBOX IDC_DOMAIN_COMBO,0,34,89,61,CBS_DROPDOWNLIST | CBS_SORT |
|
|
WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "A&vailable members:",IDC_STATIC,0,49,90,8
|
|
LISTBOX IDC_AVAILABLE_LOCAL_USERS,0,59,89,81,LBS_SORT |
|
|
LBS_OWNERDRAWVARIABLE | LBS_HASSTRINGS | WS_VSCROLL |
|
|
WS_TABSTOP
|
|
LTEXT "Added &members:",IDC_STATIC,152,49,90,9
|
|
LISTBOX IDC_ADDED_LOCAL_USERS,152,59,124,81,LBS_SORT |
|
|
LBS_OWNERDRAWVARIABLE | LBS_HASSTRINGS |
|
|
LBS_WANTKEYBOARDINPUT | WS_VSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "&Add >",IDC_ADD_BUTTON,98,67,44,14,WS_DISABLED
|
|
PUSHBUTTON "< &Remove",IDC_REMOVE_BUTTON,98,85,44,14,WS_DISABLED
|
|
LTEXT "Select the user or group you want to have membership in the local group, then click Add. To add names from other domains, select a different domain name.",
|
|
IDC_STATIC,0,0,275,24
|
|
END
|
|
|
|
IDD_GLOBAL_USERS DIALOG DISCARDABLE 0, 0, 276, 140
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "A&vailable members:",IDC_STATIC,0,25,62,8
|
|
LISTBOX IDC_AVAILABLE_MEMBERS_LIST,0,35,99,105,LBS_SORT |
|
|
LBS_OWNERDRAWVARIABLE | LBS_HASSTRINGS |
|
|
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
|
LTEXT "&Selected members:",IDC_STATIC,177,25,61,8
|
|
LISTBOX IDC_SELECTED_MEMBERS_LIST,176,35,99,105,LBS_SORT |
|
|
LBS_OWNERDRAWVARIABLE | LBS_HASSTRINGS |
|
|
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
|
|
PUSHBUTTON "&Add ->",IDC_ADD_BUTTON,113,54,50,14
|
|
PUSHBUTTON "<- &Remove",IDC_REMOVE_BUTTON,113,73,50,14
|
|
LTEXT "Select the user or group you want to have membership in the global group, then click Add.",
|
|
IDC_STATIC,0,0,265,18
|
|
END
|
|
|
|
IDD_FINISH_DLG DIALOG DISCARDABLE 0, 0, 276, 140
|
|
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "",IDC_STATIC2,89,53,182,37
|
|
LTEXT "",IDC_STATIC1,89,5,126,8
|
|
LTEXT "Static",IDC_GROUP_TYPE_STATIC,89,18,181,8
|
|
LTEXT "on",IDC_STATIC,89,29,9,8
|
|
LTEXT "Static",IDC_LOCATION_STATIC,102,29,165,8
|
|
END
|
|
|
|
IDD_GROUP_LIST_DIALOG DIALOG DISCARDABLE 0, 0, 276, 140
|
|
STYLE WS_POPUP | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LISTBOX IDC_GROUP_LIST,0,33,275,81,LBS_SORT |
|
|
LBS_OWNERDRAWVARIABLE | LBS_HASSTRINGS |
|
|
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_HSCROLL |
|
|
WS_TABSTOP
|
|
PUSHBUTTON "&Add New",IDC_ADD_NEW_BUTTON,225,18,50,14,NOT
|
|
WS_VISIBLE | WS_DISABLED
|
|
PUSHBUTTON "&Delete",IDC_DELETE_BUTTON,225,120,50,14
|
|
LTEXT "The following is a list of groups you can modify. To add or remove members in the group, select the group and click Next.",
|
|
IDC_STATIC,0,0,275,16
|
|
LTEXT "To delete a group, select the group and click Delete.",
|
|
IDC_STATIC,0,122,193,8
|
|
END
|
|
|
|
IDD_LR_DIALOG DIALOG DISCARDABLE 0, 0, 276, 140
|
|
STYLE WS_CHILD | WS_CAPTION
|
|
CAPTION "Group Management Wizard"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CONTROL "On &my computer",IDC_LOCAL_RADIO,"Button",
|
|
BS_AUTORADIOBUTTON | WS_GROUP,91,35,155,10
|
|
CONTROL "On &another computer or a domain",IDC_REMOTE_RADIO,
|
|
"Button",BS_AUTORADIOBUTTON,91,51,147,10
|
|
LTEXT "",IDC_STATIC1,91,9,137,19
|
|
CONTROL 143,IDC_PICTURE_BOX,"Static",SS_BITMAP | SS_SUNKEN,0,0,
|
|
80,140
|
|
END
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Bitmap
|
|
//
|
|
|
|
IDB_WORLD BITMAP DISCARDABLE "res\\world.bmp"
|
|
IDB_USER_BITMAP BITMAP DISCARDABLE "res\\user.bmp"
|
|
IDB_LOCAL_GROUP_BITMAP BITMAP DISCARDABLE "res\\group.bmp"
|
|
IDB_GLOBAL_GROUP_BITMAP BITMAP DISCARDABLE "res\\global.bmp"
|
|
IDB_LUSER_BITMAP BITMAP DISCARDABLE "res\\luser.bmp"
|
|
IDB_NET_TREE BITMAP DISCARDABLE "res\\net_tree.bmp"
|
|
IDB_BITMAP1 BITMAP DISCARDABLE "res\\groupb.bmp"
|
|
IDB_END_FLAG BITMAP DISCARDABLE "res\\endflag.BMP"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// String Table
|
|
//
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_GENERIC_NO_HEAP "There is insufficient memory to continue. This program will stop."
|
|
IDS_GENERIC_NO_PDC "Unable to find a domain controller for this domain. Group and user lists are unavailable."
|
|
IDS_GENERIC_BAD_MACHINE "Unable to find the computer. The selected computer is either offline or not a Windows NT Workstation or Windows NT Server."
|
|
IDS_NO_GROUP_NAME "You must provide a group name."
|
|
IDS_GROUP_INVALID_NAME "The name you typed is too long. Please provide a group name that is 20 characters or less. Names can contain any characters except: ? \\ * "" < > | / [ ] ; : , + ="
|
|
IDS_DOMAIN_SET "The selected computer is a domain controller. Focus will be set to its affiliated primary domain."
|
|
IDS_TREE_ROOT "Enterprise"
|
|
IDS_NET_ERROR "IDS_NET_ERROR"
|
|
IDS_NET_NO_SERVERS "No servers were found in the selected domain."
|
|
IDS_ERROR "IDS_ERROR"
|
|
IDS_GROUP_EXISTS "There is already a group by this name on the selected server. Please choose a different name."
|
|
IDS_INSUFFICIENT_PERMISSION
|
|
"You do not have permission to add a group to this server."
|
|
IDS_CANT_ADD_NAMES "Unable to add names to the new group. An empty group will be created."
|
|
IDS_LOCAL_GROUP "local group:"
|
|
IDS_GLOBAL_GROUP "global group:"
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_INVOKECMD_FAILED "InvokeCommand failed. hr = %lx"
|
|
IDS_GETUIOBJOF_FAILED "GetUIObjectOf failed! hr = %lx"
|
|
IDS_BAD_VERSION "You need to be running Windows NT version 4.00 in order to use this application."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_NO_MACHINE_NAME "Please enter a computer name or a domain name."
|
|
IDS_SUCCESS "The group was created and all selected names were successfully added."
|
|
IDS_NO_DC "Unable to find a domain controller for this domain."
|
|
IDS_NO_GROUP_SELECTED "Please select a group."
|
|
IDS_GROUP_DELETED "The selected group was successfully deleted."
|
|
IDS_GROUP_NOT_DELETED "An error has occurred. The selected group was not deleted."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDP_OLE_INIT_FAILED "OLE initialization failed. Make sure that the OLE libraries are the correct version."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
AFX_IDS_APP_TITLE "Group Management Wizard"
|
|
IDS_ANOTHER_TRY "Would you like to restart the wizard?"
|
|
IDS_CREATE_TEXT "You are creating the following"
|
|
IDS_MODIFY_TEXT "You are modifying the following"
|
|
IDS_CREATE_TEXT2 "Click Finish to create the group or Cancel to exit the wizard without creating the group."
|
|
IDS_MODIFY_TEXT2 "Click Finish to modify the group or Cancel to exit the wizard without modifying the group."
|
|
IDS_WELCOME "Welcome to the Group Management Wizard"
|
|
IDS_MODIFY3 "What is the location of this group?"
|
|
IDS_CREATE3 "Where do you want to create this group?"
|
|
IDS_SUCCESS_CREATE_RETRY
|
|
"The group was successfully created. Would you like to restart the wizard?"
|
|
IDS_CANT_ADD_NAMES_CREATE_RETRY
|
|
"Unable to add names to the new group. An empty group will be created. Would you like to create another one?"
|
|
IDS_SUCCESS_MODIFY_RETRY
|
|
"The group was successfully modified. Would you like to restart the wizard?"
|
|
IDS_CANT_ADD_NAMES_MODIFY_RETRY
|
|
"Unable to modify the members of this group. Would you like to restart the wizard?"
|
|
IDS_UNKNOWN_ERROR "An error has occurred. No changes to user groups will occur."
|
|
IDS_DELETE_GROUP_CONFIRM
|
|
"Are you sure you want to delete the selected group?"
|
|
IDS_CANT_ADDNAME "An error has occurred while looking up account names. Not all of the selected names will be added to this group."
|
|
END
|
|
|
|
STRINGTABLE DISCARDABLE
|
|
BEGIN
|
|
IDS_CANT_GET_USERS "Unable to load the current members of the selected group."
|
|
IDS_NO_WKSALLOWED "You must be logged onto a domain account to use this wizard with groups containing other domain accounts."
|
|
IDS_GROUP " group:"
|
|
END
|
|
|
|
#endif // English (U.S.) resources
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef APSTUDIO_INVOKED
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Generated from the TEXTINCLUDE 3 resource.
|
|
//
|
|
#define _AFX_NO_SPLITTER_RESOURCES
|
|
#define _AFX_NO_OLE_RESOURCES
|
|
#define _AFX_NO_TRACKER_RESOURCES
|
|
#define _AFX_NO_PROPERTY_RESOURCES
|
|
|
|
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
|
#ifdef _WIN32
|
|
LANGUAGE 9, 1
|
|
#pragma code_page(1252)
|
|
#endif
|
|
#include "res\Romaine.rc2" // non-Microsoft Visual C++ edited resources
|
|
#include "afxres.rc" // Standard components
|
|
#endif
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
#endif // not APSTUDIO_INVOKED
|
|
|