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

  1. /*---------------------------------------------**
  2. ** Copyright (C) Microsoft Corporation, 1998 - 1999**
  3. ** All Rights reserved **
  4. ** **
  5. ** tsreg.rc **
  6. ** **
  7. ** Resources for TSREG utility. **
  8. ** 07-01-98 a-clindh Created **
  9. **---------------------------------------------*/
  10. #include <windows.h>
  11. #include "resource.h"
  12. /////////////////////////////////////////////////////////////////////////////
  13. //
  14. // Dialog
  15. //
  16. IDD_SHADOW DIALOG DISCARDABLE 0, 0, 226, 157
  17. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  18. CAPTION "Bitmap Cache"
  19. FONT 8, "MS Shell Dlg"
  20. BEGIN
  21. CONTROL "Slider1",IDC_SLD_DST_PROP_1,"msctls_trackbar32",
  22. TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,18,15,12,53
  23. CONTROL "Slider1",IDC_SLD_DST_PROP_2,"msctls_trackbar32",
  24. TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,42,15,12,53
  25. CONTROL "Slider1",IDC_SLD_DST_PROP_3,"msctls_trackbar32",
  26. TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,66,15,12,53
  27. CONTROL "Slider1",IDC_SLD_DST_PROP_4,"msctls_trackbar32",
  28. TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,90,15,12,53
  29. CONTROL "Slider1",IDC_SLD_DST_PROP_5,"msctls_trackbar32",
  30. TBS_AUTOTICKS | TBS_VERT | WS_TABSTOP,114,15,12,52
  31. CONTROL "Cache 1",IDC_CHK_CSH_1,"Button",BS_AUTOCHECKBOX |
  32. WS_DISABLED | WS_TABSTOP,166,18,43,10
  33. CONTROL "Cache 2",IDC_CHK_CSH_2,"Button",BS_AUTOCHECKBOX |
  34. WS_DISABLED | WS_TABSTOP,166,31,43,10
  35. CONTROL "Cache 3",IDC_CHK_CSH_3,"Button",BS_AUTOCHECKBOX |
  36. WS_DISABLED | WS_TABSTOP,166,43,43,10
  37. CONTROL "Cache 4",IDC_CHK_CSH_4,"Button",BS_AUTOCHECKBOX |
  38. WS_DISABLED | WS_TABSTOP,166,56,43,10
  39. CONTROL "Cache 5",IDC_CHK_CSH_5,"Button",BS_AUTOCHECKBOX |
  40. WS_DISABLED | WS_TABSTOP,166,69,43,10
  41. CONTROL "Slider6",IDC_SLD_NO_CACHES,"msctls_trackbar32",
  42. TBS_AUTOTICKS | WS_TABSTOP,15,106,100,12
  43. COMBOBOX IDC_COMBO_CACHE_SIZE,165,105,40,63,CBS_DROPDOWN |
  44. WS_VSCROLL | WS_TABSTOP
  45. PUSHBUTTON "Restore",IDC_BTN_RESTORE,169,136,50,14
  46. GROUPBOX "Distribution proportion",IDC_CACHE_PROP,7,7,133,78
  47. LTEXT "100",IDC_TXT_DST_PROP_1,18,68,15,9,SS_SUNKEN
  48. LTEXT "100",IDC_TXT_DST_PROP_2,42,68,15,9,SS_SUNKEN
  49. LTEXT "100",IDC_TXT_DST_PROP_3,66,68,15,9,SS_SUNKEN
  50. GROUPBOX "Number of bitmap caches",IDC_ACTIVE,7,91,133,38
  51. LTEXT "100",IDC_TXT_DST_PROP_4,90,68,15,9,SS_SUNKEN
  52. LTEXT "100",IDC_TXT_DST_PROP_5,114,68,15,9,SS_SUNKEN
  53. GROUPBOX "Persistent caches",IDC_STATIC,151,7,68,78
  54. GROUPBOX "Total cache size",IDC_CACHE_SIZE,151,91,68,38
  55. LTEXT "5",IDC_TXT_NO_CACHES,119,107,10,10,SS_SUNKEN
  56. END
  57. IDD_MISC DIALOG DISCARDABLE 0, 0, 226, 157
  58. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  59. CAPTION "Miscellaneous"
  60. FONT 8, "MS Shell Dlg"
  61. BEGIN
  62. CONTROL "Enabled",IDC_SHADOW_ENABLED,"Button",BS_AUTORADIOBUTTON |
  63. WS_GROUP,15,17,42,10
  64. CONTROL "Disabled",IDC_SHADOW_DISABLED,"Button",
  65. BS_AUTORADIOBUTTON | WS_GROUP,15,30,43,10
  66. CONTROL "Enabled",IDC_DEDICATED_ENABLED,"Button",
  67. BS_AUTORADIOBUTTON | WS_GROUP,82,17,42,10
  68. CONTROL "Disabled",IDC_DEDICATED_DISABLED,"Button",
  69. BS_AUTORADIOBUTTON | WS_GROUP,82,30,43,10
  70. COMBOBOX IDC_COMBO_ORDER,165,24,48,62,CBS_DROPDOWN | WS_VSCROLL |
  71. WS_TABSTOP
  72. GROUPBOX "Shadow bitmap",IDC_CACHING,7,7,60,40
  73. GROUPBOX "Dedicated terminal",IDC_DEDICATED,76,7,74,40
  74. GROUPBOX "Order draw",IDC_FRAME_OD,159,7,60,40
  75. PUSHBUTTON "Restore",IDC_MISC_BUTTON_RESTORE,169,136,50,14
  76. GROUPBOX "Set forground lock timeout",IDC_FRAME_TIMEOUT,7,55,143,
  77. 40
  78. LTEXT "5",IDC_TXT_TIMEOUT,130,73,10,10,SS_SUNKEN
  79. CONTROL "Slider1",IDC_SLD_TIMEOUT,"msctls_trackbar32",
  80. TBS_AUTOTICKS | WS_TABSTOP,16,72,101,12
  81. END
  82. IDD_GLYPH_CACHE_DLG DIALOG DISCARDABLE 0, 0, 226, 157
  83. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  84. CAPTION "Glyph Cache"
  85. FONT 8, "MS Shell Dlg"
  86. BEGIN
  87. CONTROL "Slider1",IDC_SLIDER1,"msctls_trackbar32",TBS_AUTOTICKS |
  88. TBS_VERT | WS_TABSTOP,17,19,12,60
  89. CONTROL "Slider1",IDC_SLIDER2,"msctls_trackbar32",TBS_AUTOTICKS |
  90. TBS_VERT | WS_TABSTOP,37,19,12,60
  91. CONTROL "Slider1",IDC_SLIDER3,"msctls_trackbar32",TBS_AUTOTICKS |
  92. TBS_VERT | WS_TABSTOP,57,19,12,60
  93. CONTROL "Slider1",IDC_SLIDER4,"msctls_trackbar32",TBS_AUTOTICKS |
  94. TBS_VERT | WS_TABSTOP,77,19,12,60
  95. CONTROL "Slider1",IDC_SLIDER5,"msctls_trackbar32",TBS_AUTOTICKS |
  96. TBS_VERT | WS_TABSTOP,97,19,12,60
  97. CONTROL "Slider1",IDC_SLIDER6,"msctls_trackbar32",TBS_AUTOTICKS |
  98. TBS_VERT | WS_TABSTOP,117,19,12,60
  99. CONTROL "Slider1",IDC_SLIDER7,"msctls_trackbar32",TBS_AUTOTICKS |
  100. TBS_VERT | WS_TABSTOP,137,19,12,60
  101. CONTROL "Slider1",IDC_SLIDER8,"msctls_trackbar32",TBS_AUTOTICKS |
  102. TBS_VERT | WS_TABSTOP,157,19,12,60
  103. CONTROL "Slider1",IDC_SLIDER9,"msctls_trackbar32",TBS_AUTOTICKS |
  104. TBS_VERT | WS_TABSTOP,177,19,12,60
  105. CONTROL "Slider1",IDC_SLIDER10,"msctls_trackbar32",TBS_AUTOTICKS |
  106. TBS_VERT | WS_TABSTOP,197,19,12,60
  107. CONTROL "Full",IDC_RADIO_FULL,"Button",BS_AUTORADIOBUTTON,20,112,
  108. 27,10
  109. CONTROL "Partial",IDC_RADIO_PARTIAL,"Button",BS_AUTORADIOBUTTON,
  110. 55,112,35,10
  111. CONTROL "None",IDC_RADIO_NONE,"Button",BS_AUTORADIOBUTTON,95,112,
  112. 33,10
  113. COMBOBOX IDC_CBO_TXT_FRAG,157,110,48,57,CBS_DROPDOWNLIST |
  114. WS_VSCROLL | WS_TABSTOP
  115. CTEXT "512",IDC_STATIC1,17,80,15,9,SS_SUNKEN
  116. CTEXT "512",IDC_STATIC2,37,80,15,9,SS_SUNKEN
  117. CTEXT "512",IDC_STATIC3,57,80,15,9,SS_SUNKEN
  118. CTEXT "512",IDC_STATIC4,77,80,15,9,SS_SUNKEN
  119. CTEXT "512",IDC_STATIC5,97,80,15,9,SS_SUNKEN
  120. CTEXT "512",IDC_STATIC6,117,80,15,9,SS_SUNKEN
  121. CTEXT "512",IDC_STATIC7,137,80,15,9,SS_SUNKEN
  122. CTEXT "512",IDC_STATIC8,157,80,15,9,SS_SUNKEN
  123. CTEXT "512",IDC_STATIC9,177,80,15,9,SS_SUNKEN
  124. CTEXT "512",IDC_STATIC10,197,80,15,9,SS_SUNKEN
  125. GROUPBOX "Glyph cell settings",IDC_GLYPH_CACHE,7,7,212,88
  126. GROUPBOX "Glyph support level",IDC_STATIC,7,99,128,30
  127. GROUPBOX "Text frag. cell size",IDC_STATIC,143,99,76,30
  128. PUSHBUTTON "Restore",IDC_GLYPH_BTN_RESTORE,169,136,50,14
  129. END
  130. IDD_PROFILES DIALOG DISCARDABLE 0, 0, 227, 157
  131. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  132. CAPTION "Client Profiles"
  133. FONT 8, "MS Shell Dlg"
  134. BEGIN
  135. COMBOBOX IDC_CBO_PROFILES,16,21,194,55,CBS_DROPDOWNLIST |
  136. WS_VSCROLL | WS_TABSTOP
  137. PUSHBUTTON "Load",IDC_BTN_LOAD,105,44,50,14
  138. PUSHBUTTON "Delete",IDC_BTN_DELETE,160,44,50,14
  139. PUSHBUTTON "Save As",IDC_BTN_SAVE,169,136,50,14
  140. GROUPBOX "Saved profiles",IDC_STATIC,7,7,212,60
  141. END
  142. IDD_SAVE_FORM DIALOG DISCARDABLE 0, 0, 276, 146
  143. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  144. CAPTION "Save As"
  145. FONT 8, "MS Shell Dlg"
  146. BEGIN
  147. DEFPUSHBUTTON "OK",IDOK,219,107,50,14
  148. PUSHBUTTON "Cancel",IDCANCEL,219,125,50,14
  149. CONTROL "List1",IDC_SAVE_LIST,"SysListView32",LVS_LIST |
  150. WS_BORDER,7,7,262,93
  151. LTEXT "Profile name:",IDC_STATIC,7,110,44,13
  152. EDITTEXT IDC_EDIT_KEY,50,107,160,14,ES_AUTOHSCROLL
  153. END
  154. /////////////////////////////////////////////////////////////////////////////
  155. //
  156. // DESIGNINFO
  157. //
  158. #ifdef APSTUDIO_INVOKED
  159. GUIDELINES DESIGNINFO DISCARDABLE
  160. BEGIN
  161. IDD_SHADOW, DIALOG
  162. BEGIN
  163. LEFTMARGIN, 7
  164. RIGHTMARGIN, 219
  165. TOPMARGIN, 7
  166. BOTTOMMARGIN, 150
  167. END
  168. IDD_MISC, DIALOG
  169. BEGIN
  170. LEFTMARGIN, 7
  171. RIGHTMARGIN, 219
  172. TOPMARGIN, 7
  173. BOTTOMMARGIN, 150
  174. END
  175. IDD_GLYPH_CACHE_DLG, DIALOG
  176. BEGIN
  177. LEFTMARGIN, 7
  178. RIGHTMARGIN, 219
  179. TOPMARGIN, 7
  180. BOTTOMMARGIN, 150
  181. END
  182. IDD_PROFILES, DIALOG
  183. BEGIN
  184. LEFTMARGIN, 7
  185. RIGHTMARGIN, 220
  186. TOPMARGIN, 7
  187. BOTTOMMARGIN, 150
  188. END
  189. IDD_SAVE_FORM, DIALOG
  190. BEGIN
  191. LEFTMARGIN, 7
  192. RIGHTMARGIN, 269
  193. TOPMARGIN, 7
  194. BOTTOMMARGIN, 139
  195. END
  196. END
  197. #endif // APSTUDIO_INVOKED
  198. #ifndef _MAC
  199. /////////////////////////////////////////////////////////////////////////////
  200. //
  201. // Version
  202. //
  203. VS_VERSION_INFO VERSIONINFO
  204. FILEVERSION 1,0,8,1
  205. PRODUCTVERSION 1,0,8,1
  206. FILEFLAGSMASK 0x3fL
  207. #ifdef _DEBUG
  208. FILEFLAGS 0x1L
  209. #else
  210. FILEFLAGS 0x0L
  211. #endif
  212. FILEOS 0x40004L
  213. FILETYPE 0x1L
  214. FILESUBTYPE 0x0L
  215. BEGIN
  216. BLOCK "StringFileInfo"
  217. BEGIN
  218. BLOCK "040904b0"
  219. BEGIN
  220. VALUE "Comments", "Windows Terminal Services client registry editor\0"
  221. VALUE "CompanyName", "Microsoft �\0"
  222. VALUE "FileDescription", "TSREG\0"
  223. VALUE "FileVersion", "1, 0, 8, 1\0"
  224. VALUE "InternalName", "TSREG\0"
  225. VALUE "LegalCopyright", "Copyright � 1998\0"
  226. VALUE "LegalTrademarks", "\0"
  227. VALUE "OriginalFilename", "TSREG.EXE\0"
  228. VALUE "PrivateBuild", "\0"
  229. VALUE "ProductName", "TSREG\0"
  230. VALUE "ProductVersion", "1, 0, 8, 1\0"
  231. VALUE "SpecialBuild", "\0"
  232. END
  233. END
  234. BLOCK "VarFileInfo"
  235. BEGIN
  236. VALUE "Translation", 0x409, 1200
  237. END
  238. END
  239. #endif // !_MAC
  240. /////////////////////////////////////////////////////////////////////////////
  241. //
  242. // Icon
  243. //
  244. // Icon with lowest ID value placed first to ensure application icon
  245. // remains consistent on all systems.
  246. IDI_ICON1 ICON DISCARDABLE "tsreg.ico"
  247. IDI_FOLDER_ICON ICON DISCARDABLE "Clsdfold.ico"
  248. #ifdef APSTUDIO_INVOKED
  249. /////////////////////////////////////////////////////////////////////////////
  250. //
  251. // TEXTINCLUDE
  252. //
  253. 1 TEXTINCLUDE DISCARDABLE
  254. BEGIN
  255. "resrc1.h\0"
  256. END
  257. 2 TEXTINCLUDE DISCARDABLE
  258. BEGIN
  259. "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  260. "#include ""windows.h""\r\n"
  261. "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  262. "#include ""resource.h""\r\n"
  263. "\0"
  264. END
  265. 3 TEXTINCLUDE DISCARDABLE
  266. BEGIN
  267. "\r\n"
  268. "\0"
  269. END
  270. #endif // APSTUDIO_INVOKED
  271. /////////////////////////////////////////////////////////////////////////////
  272. //
  273. // String Table
  274. //
  275. STRINGTABLE DISCARDABLE
  276. BEGIN
  277. IDS_BITMAP_CACHE "Bitmap Cache"
  278. IDS_PROFILE_PATH "Software\\Microsoft\\Terminal Server Client"
  279. IDS_START_ERROR "Please install Windows Terminal Services Client before running this application."
  280. IDS_WINDOW_TITLE "Terminal Services Client Registry Settings - "
  281. IDS_REG_PATH "Software\\Microsoft\\Terminal Server Client\\Default"
  282. IDS_SHADOW_BITMAP "Shadow Bitmap Enabled"
  283. IDS_DEDICTED_TERMINAL "Dedicated Terminal"
  284. IDS_BITMAP_CACHE_SIZE "BitmapCacheSize"
  285. IDS_GLYPHCELL1 "GlyphCacheCell1Size"
  286. IDS_GLYPHCELL2 "GlyphCacheCell2Size"
  287. IDS_GLYPHCELL3 "GlyphCacheCell3Size"
  288. IDS_GLYPHCELL4 "GlyphCacheCell4Size"
  289. IDS_GLYPHCELL5 "GlyphCacheCell5Size"
  290. IDS_GLYPHCELL6 "GlyphCacheCell6Size"
  291. IDS_GLYPHCELL7 "GlyphCacheCell7Size"
  292. END
  293. STRINGTABLE DISCARDABLE
  294. BEGIN
  295. IDS_GLYPHCELL8 "GlyphCacheCell8Size"
  296. IDS_GLYPHCELL9 "GlyphCacheCell9Size"
  297. IDS_GLYPHCELL10 "GlyphCacheCell10Size"
  298. IDS_BMPROP1 "BitmapCache1Prop"
  299. IDS_BMPROP2 "BitmapCache2Prop"
  300. IDS_BMPROP3 "BitmapCache3Prop"
  301. IDS_BMPROP4 "BitmapCache4Prop"
  302. IDS_BMPROP5 "BitmapCache5Prop"
  303. IDS_TEXTFRAG "TextFragmentCellSize"
  304. IDS_GSUPLEVEL "GlyphSupportLevel"
  305. IDS_ORDERDRAW "Order Draw Threshold"
  306. IDS_BM_NUM_CACHES "BitmapCacheNumCellCaches"
  307. IDS_BM_C1_PERSIST "BitmapCache1Persistence"
  308. IDS_BM_C2_PERSIST "BitmapCache2Persistence"
  309. IDS_BM_C3_PERSIST "BitmapCache3Persistence"
  310. END
  311. STRINGTABLE DISCARDABLE
  312. BEGIN
  313. IDS_BM_C4_PERSIST "BitmapCache4Persistence"
  314. IDS_BM_C5_PERSIST "BitmapCache5Persistence"
  315. IDS_BM_C1_MAX_CEL "spare"
  316. IDS_BM_C2_MAX_CEL "spare"
  317. IDS_BM_C3_MAX_CEL "spare"
  318. IDS_BM_C4_MAX_CEL "spare"
  319. IDS_BM_C5_MAX_CEL "spare"
  320. IDS_PERCENT_ERROR "Bitmap cache percent values must total 100.\nPrevious setings will be restored."
  321. IDS_BMCACHE_ERROR "Incorrect bitmap cache size.\nDefault setings will be restored."
  322. IDS_ODRAW_ERROR "Order draw values must range between 0 and 65535.\nDefault setings will be restored."
  323. IDS_MISC_TAB "Miscellaneous Tab"
  324. IDS_DELETE_TITLE "Confirm Remote Profile Delete"
  325. IDS_DELETE_CAPTION "Are you sure you want to delete this remote profile?"
  326. IDS_PROFILE_LOADED "Remote profile for """
  327. IDS_PROFILE_LOADED2 """ successfully loaded. Settings are not applied until OK is selected when exiting the application."
  328. IDS_PROFILE_LOAD "Please select a profile to load."
  329. IDS_PROFILE_DELETE "Please select a profile to delete."
  330. IDS_KEY_SAVE "Please enter a key name."
  331. IDS_DEFAULT "Default"
  332. IDS_PATH_TOO_LONG "Base application path is too long. The persistent bitmaps cannot be loaded."
  333. END