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.
 
 
 
 
 
 

368 lines
14 KiB

/*---------------------------------------------**
** Copyright (C) Microsoft Corporation, 1998 - 1999**
** All Rights reserved **
** **
** tsreg.rc **
** **
** Resources for TSREG utility. **
** 07-01-98 a-clindh Created **
**---------------------------------------------*/
#include <windows.h>
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SHADOW DIALOG DISCARDABLE 0, 0, 226, 157
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Bitmap Cache"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Slider1",IDC_SLD_DST_PROP_1,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,18,15,12,53
CONTROL "Slider1",IDC_SLD_DST_PROP_2,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,42,15,12,53
CONTROL "Slider1",IDC_SLD_DST_PROP_3,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,66,15,12,53
CONTROL "Slider1",IDC_SLD_DST_PROP_4,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,90,15,12,53
CONTROL "Slider1",IDC_SLD_DST_PROP_5,"msctls_trackbar32",
TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,114,15,12,52
CONTROL "Cache 1",IDC_CHK_CSH_1,"Button",BS_AUTOCHECKBOX |
WS_DISABLED | WS_TABSTOP,166,18,43,10
CONTROL "Cache 2",IDC_CHK_CSH_2,"Button",BS_AUTOCHECKBOX |
WS_DISABLED | WS_TABSTOP,166,31,43,10
CONTROL "Cache 3",IDC_CHK_CSH_3,"Button",BS_AUTOCHECKBOX |
WS_DISABLED | WS_TABSTOP,166,43,43,10
CONTROL "Cache 4",IDC_CHK_CSH_4,"Button",BS_AUTOCHECKBOX |
WS_DISABLED | WS_TABSTOP,166,56,43,10
CONTROL "Cache 5",IDC_CHK_CSH_5,"Button",BS_AUTOCHECKBOX |
WS_DISABLED | WS_TABSTOP,166,69,43,10
CONTROL "Slider6",IDC_SLD_NO_CACHES,"msctls_trackbar32",
TBS_AUTOTICKS | WS_TABSTOP,15,106,100,12
COMBOBOX IDC_COMBO_CACHE_SIZE,165,105,40,63,CBS_DROPDOWN |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Restore",IDC_BTN_RESTORE,169,136,50,14
GROUPBOX "Distribution proportion",IDC_CACHE_PROP,7,7,133,78
LTEXT "100",IDC_TXT_DST_PROP_1,18,68,15,9,SS_SUNKEN
LTEXT "100",IDC_TXT_DST_PROP_2,42,68,15,9,SS_SUNKEN
LTEXT "100",IDC_TXT_DST_PROP_3,66,68,15,9,SS_SUNKEN
GROUPBOX "Number of bitmap caches",IDC_ACTIVE,7,91,133,38
LTEXT "100",IDC_TXT_DST_PROP_4,90,68,15,9,SS_SUNKEN
LTEXT "100",IDC_TXT_DST_PROP_5,114,68,15,9,SS_SUNKEN
GROUPBOX "Persistent caches",IDC_STATIC,151,7,68,78
GROUPBOX "Total cache size",IDC_CACHE_SIZE,151,91,68,38
LTEXT "5",IDC_TXT_NO_CACHES,119,107,10,10,SS_SUNKEN
END
IDD_MISC DIALOG DISCARDABLE 0, 0, 226, 157
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Miscellaneous"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Enabled",IDC_SHADOW_ENABLED,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,15,17,42,10
CONTROL "Disabled",IDC_SHADOW_DISABLED,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,15,30,43,10
CONTROL "Enabled",IDC_DEDICATED_ENABLED,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,82,17,42,10
CONTROL "Disabled",IDC_DEDICATED_DISABLED,"Button",
BS_AUTORADIOBUTTON | WS_GROUP,82,30,43,10
COMBOBOX IDC_COMBO_ORDER,165,24,48,62,CBS_DROPDOWN | WS_VSCROLL |
WS_TABSTOP
GROUPBOX "Shadow bitmap",IDC_CACHING,7,7,60,40
GROUPBOX "Dedicated terminal",IDC_DEDICATED,76,7,74,40
GROUPBOX "Order draw",IDC_FRAME_OD,159,7,60,40
PUSHBUTTON "Restore",IDC_MISC_BUTTON_RESTORE,169,136,50,14
GROUPBOX "Set forground lock timeout",IDC_FRAME_TIMEOUT,7,55,143,
40
LTEXT "5",IDC_TXT_TIMEOUT,130,73,10,10,SS_SUNKEN
CONTROL "Slider1",IDC_SLD_TIMEOUT,"msctls_trackbar32",
TBS_AUTOTICKS | WS_TABSTOP,16,72,101,12
END
IDD_GLYPH_CACHE_DLG DIALOG DISCARDABLE 0, 0, 226, 157
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Glyph Cache"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,17,19,12,60
CONTROL "Slider1",IDC_SLIDER2,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,37,19,12,60
CONTROL "Slider1",IDC_SLIDER3,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,57,19,12,60
CONTROL "Slider1",IDC_SLIDER4,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,77,19,12,60
CONTROL "Slider1",IDC_SLIDER5,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,97,19,12,60
CONTROL "Slider1",IDC_SLIDER6,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,117,19,12,60
CONTROL "Slider1",IDC_SLIDER7,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,137,19,12,60
CONTROL "Slider1",IDC_SLIDER8,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,157,19,12,60
CONTROL "Slider1",IDC_SLIDER9,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,177,19,12,60
CONTROL "Slider1",IDC_SLIDER10,"msctls_trackbar32",TBS_AUTOTICKS |
TBS_VERT | WS_TABSTOP,197,19,12,60
CONTROL "Full",IDC_RADIO_FULL,"Button",BS_AUTORADIOBUTTON,20,112,
27,10
CONTROL "Partial",IDC_RADIO_PARTIAL,"Button",BS_AUTORADIOBUTTON,
55,112,35,10
CONTROL "None",IDC_RADIO_NONE,"Button",BS_AUTORADIOBUTTON,95,112,
33,10
COMBOBOX IDC_CBO_TXT_FRAG,157,110,48,57,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
CTEXT "512",IDC_STATIC1,17,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC2,37,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC3,57,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC4,77,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC5,97,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC6,117,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC7,137,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC8,157,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC9,177,80,15,9,SS_SUNKEN
CTEXT "512",IDC_STATIC10,197,80,15,9,SS_SUNKEN
GROUPBOX "Glyph cell settings",IDC_GLYPH_CACHE,7,7,212,88
GROUPBOX "Glyph support level",IDC_STATIC,7,99,128,30
GROUPBOX "Text frag. cell size",IDC_STATIC,143,99,76,30
PUSHBUTTON "Restore",IDC_GLYPH_BTN_RESTORE,169,136,50,14
END
IDD_PROFILES DIALOG DISCARDABLE 0, 0, 227, 157
STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
CAPTION "Client Profiles"
FONT 8, "MS Shell Dlg"
BEGIN
COMBOBOX IDC_CBO_PROFILES,16,21,194,55,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Load",IDC_BTN_LOAD,105,44,50,14
PUSHBUTTON "Delete",IDC_BTN_DELETE,160,44,50,14
PUSHBUTTON "Save As",IDC_BTN_SAVE,169,136,50,14
GROUPBOX "Saved profiles",IDC_STATIC,7,7,212,60
END
IDD_SAVE_FORM DIALOG DISCARDABLE 0, 0, 276, 146
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Save As"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "OK",IDOK,219,107,50,14
PUSHBUTTON "Cancel",IDCANCEL,219,125,50,14
CONTROL "List1",IDC_SAVE_LIST,"SysListView32",LVS_LIST |
WS_BORDER,7,7,262,93
LTEXT "Profile name:",IDC_STATIC,7,110,44,13
EDITTEXT IDC_EDIT_KEY,50,107,160,14,ES_AUTOHSCROLL
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_SHADOW, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 219
TOPMARGIN, 7
BOTTOMMARGIN, 150
END
IDD_MISC, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 219
TOPMARGIN, 7
BOTTOMMARGIN, 150
END
IDD_GLYPH_CACHE_DLG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 219
TOPMARGIN, 7
BOTTOMMARGIN, 150
END
IDD_PROFILES, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 220
TOPMARGIN, 7
BOTTOMMARGIN, 150
END
IDD_SAVE_FORM, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 269
TOPMARGIN, 7
BOTTOMMARGIN, 139
END
END
#endif // APSTUDIO_INVOKED
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,8,1
PRODUCTVERSION 1,0,8,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "Windows Terminal Services client registry editor\0"
VALUE "CompanyName", "Microsoft ®\0"
VALUE "FileDescription", "TSREG\0"
VALUE "FileVersion", "1, 0, 8, 1\0"
VALUE "InternalName", "TSREG\0"
VALUE "LegalCopyright", "Copyright © 1998\0"
VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "TSREG.EXE\0"
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "TSREG\0"
VALUE "ProductVersion", "1, 0, 8, 1\0"
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON DISCARDABLE "tsreg.ico"
IDI_FOLDER_ICON ICON DISCARDABLE "Clsdfold.ico"
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resrc1.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""resource.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_BITMAP_CACHE "Bitmap Cache"
IDS_PROFILE_PATH "Software\\Microsoft\\Terminal Server Client"
IDS_START_ERROR "Please install Windows Terminal Services Client before running this application."
IDS_WINDOW_TITLE "Terminal Services Client Registry Settings - "
IDS_REG_PATH "Software\\Microsoft\\Terminal Server Client\\Default"
IDS_SHADOW_BITMAP "Shadow Bitmap Enabled"
IDS_DEDICTED_TERMINAL "Dedicated Terminal"
IDS_BITMAP_CACHE_SIZE "BitmapCacheSize"
IDS_GLYPHCELL1 "GlyphCacheCell1Size"
IDS_GLYPHCELL2 "GlyphCacheCell2Size"
IDS_GLYPHCELL3 "GlyphCacheCell3Size"
IDS_GLYPHCELL4 "GlyphCacheCell4Size"
IDS_GLYPHCELL5 "GlyphCacheCell5Size"
IDS_GLYPHCELL6 "GlyphCacheCell6Size"
IDS_GLYPHCELL7 "GlyphCacheCell7Size"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_GLYPHCELL8 "GlyphCacheCell8Size"
IDS_GLYPHCELL9 "GlyphCacheCell9Size"
IDS_GLYPHCELL10 "GlyphCacheCell10Size"
IDS_BMPROP1 "BitmapCache1Prop"
IDS_BMPROP2 "BitmapCache2Prop"
IDS_BMPROP3 "BitmapCache3Prop"
IDS_BMPROP4 "BitmapCache4Prop"
IDS_BMPROP5 "BitmapCache5Prop"
IDS_TEXTFRAG "TextFragmentCellSize"
IDS_GSUPLEVEL "GlyphSupportLevel"
IDS_ORDERDRAW "Order Draw Threshold"
IDS_BM_NUM_CACHES "BitmapCacheNumCellCaches"
IDS_BM_C1_PERSIST "BitmapCache1Persistence"
IDS_BM_C2_PERSIST "BitmapCache2Persistence"
IDS_BM_C3_PERSIST "BitmapCache3Persistence"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_BM_C4_PERSIST "BitmapCache4Persistence"
IDS_BM_C5_PERSIST "BitmapCache5Persistence"
IDS_BM_C1_MAX_CEL "spare"
IDS_BM_C2_MAX_CEL "spare"
IDS_BM_C3_MAX_CEL "spare"
IDS_BM_C4_MAX_CEL "spare"
IDS_BM_C5_MAX_CEL "spare"
IDS_PERCENT_ERROR "Bitmap cache percent values must total 100.\nPrevious setings will be restored."
IDS_BMCACHE_ERROR "Incorrect bitmap cache size.\nDefault setings will be restored."
IDS_ODRAW_ERROR "Order draw values must range between 0 and 65535.\nDefault setings will be restored."
IDS_MISC_TAB "Miscellaneous Tab"
IDS_DELETE_TITLE "Confirm Remote Profile Delete"
IDS_DELETE_CAPTION "Are you sure you want to delete this remote profile?"
IDS_PROFILE_LOADED "Remote profile for """
IDS_PROFILE_LOADED2 """ successfully loaded. Settings are not applied until OK is selected when exiting the application."
IDS_PROFILE_LOAD "Please select a profile to load."
IDS_PROFILE_DELETE "Please select a profile to delete."
IDS_KEY_SAVE "Please enter a key name."
IDS_DEFAULT "Default"
IDS_PATH_TOO_LONG "Base application path is too long. The persistent bitmaps cannot be loaded."
END