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.

290 lines
12 KiB

  1. //tsmmc.rc
  2. //MMC Snapin resource file
  3. //
  4. //
  5. #include "resource.h"
  6. #include "winver.h"
  7. #include "ntverp.h"
  8. #define VER_FILETYPE VFT_DLL
  9. #define VER_FILESUBTYPE VFT2_UNKNOWN
  10. #define VER_FILEDESCRIPTION_STR "Remote Desktops Snap-in"
  11. #define VER_INTERNALNAME_STR "mstsmmc.dll"
  12. #define VER_ORIGINALFILENAME_STR "mstsmmc.dll"
  13. #include "common.ver"
  14. #include "winres.h"
  15. 1 TEXTINCLUDE DISCARDABLE
  16. BEGIN
  17. "resource.h\0"
  18. END
  19. 2 TEXTINCLUDE DISCARDABLE
  20. BEGIN
  21. "#include ""winres.h""\r\n"
  22. "\0"
  23. END
  24. 3 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "1 TYPELIB ""tsmmc.tlb""\r\n"
  27. "\0"
  28. END
  29. /////////////////////////////////////////////////////////////////////////////
  30. //
  31. // REGISTRY
  32. //
  33. IDR_TSMMCREG REGISTRY DISCARDABLE "tsmmc.rgs"
  34. /////////////////////////////////////////////////////////////////////////////
  35. //
  36. // Dialog
  37. //
  38. IDD_PROPPAGE1 DIALOG DISCARDABLE 0, 0, 252, 218
  39. STYLE DS_SETFOREGROUND | DS_CONTROL | DS_CONTEXTHELP | WS_CHILD | WS_BORDER
  40. FONT 8, "MS Shell Dlg"
  41. BEGIN
  42. GROUPBOX "Connection",IDC_STATIC,7,7,239,87
  43. LTEXT "&Server name or IP address:",IDC_STATIC,16,18,188,8
  44. EDITTEXT IDC_SERVER,16,28,166,14,ES_AUTOHSCROLL
  45. PUSHBUTTON "B&rowse...",IDC_BROWSE_SERVERS,187,28,50,14
  46. LTEXT "&Connection name:",IDC_STATIC,16,46,188,8
  47. EDITTEXT IDC_DESCRIPTION,16,56,221,14,ES_AUTOHSCROLL
  48. CONTROL "Co&nnect to console",IDC_CONNECT_TO_CONSOLE,"Button",
  49. BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,16,
  50. 77,188,10
  51. GROUPBOX "Logon information",IDC_STATIC,7,100,239,83
  52. LTEXT "&User name:",IDC_USERNAME_STATIC,20,116,61,8,
  53. SS_CENTERIMAGE
  54. EDITTEXT IDC_USERNAME,93,113,144,14,ES_AUTOHSCROLL
  55. LTEXT "D&omain:",IDC_DOMAIN_STATIC,20,133,61,8,SS_CENTERIMAGE
  56. EDITTEXT IDC_DOMAIN,93,130,144,14,ES_AUTOHSCROLL
  57. PUSHBUTTON "Change &Password",IDC_CHANGEPASSWORD,20,148,66,14
  58. EDITTEXT IDC_PASSWORD,93,148,144,14,ES_PASSWORD | ES_AUTOHSCROLL
  59. LTEXT "Properties will take effect on the next connection to this server.",
  60. IDC_STATIC,7,190,239,25
  61. CONTROL "Sa&ve password",IDC_SAVE_PASSWORD,"Button",
  62. BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,93,
  63. 167,140,10
  64. END
  65. IDD_PROPPAGE2 DIALOG DISCARDABLE 0, 0, 252, 218
  66. STYLE DS_SETFOREGROUND | DS_CONTROL | WS_CHILD | WS_BORDER
  67. FONT 8, "MS Shell Dlg"
  68. BEGIN
  69. CONTROL "Choose &desktop size:",IDC_RADIO_CHOOSE_SIZE,"Button",
  70. BS_AUTORADIOBUTTON,13,37,131,10
  71. CONTROL "Enter &custom desktop size:",IDC_RADIO_CUSTOM_SIZE,
  72. "Button",BS_AUTORADIOBUTTON,13,73,131,10
  73. CONTROL "&Expand to fill MMC Result Pane",IDC_RADIO_SIZE_FILL_MMC,
  74. "Button",BS_AUTORADIOBUTTON | WS_TABSTOP,13,18,131,10
  75. COMBOBOX IDC_COMBO_RESOLUTIONS,72,52,103,47,CBS_DROPDOWNLIST |
  76. WS_VSCROLL | WS_TABSTOP
  77. RTEXT "Width:",IDC_STATIC_WIDTH,15,88,51,10,SS_CENTERIMAGE
  78. EDITTEXT IDC_EDIT_WIDTH,73,87,54,12,ES_NUMBER
  79. RTEXT "Height:",IDC_STATIC_HEIGHT,15,103,51,10,SS_CENTERIMAGE
  80. EDITTEXT IDC_EDIT_HEIGHT,73,102,54,12,ES_NUMBER
  81. LTEXT "Properties will take effect on the next connection to this server.",
  82. IDC_STATIC,7,190,239,25
  83. END
  84. IDD_PROPPAGE3 DIALOG DISCARDABLE 0, 0, 252, 218
  85. STYLE DS_SETFOREGROUND | DS_CONTROL | WS_CHILD | WS_BORDER
  86. FONT 8, "MS Shell Dlg"
  87. BEGIN
  88. CONTROL "&Start the following program on connection:",
  89. IDC_SPECIFY_APP,"Button",BS_AUTOCHECKBOX | BS_TOP |
  90. BS_MULTILINE,16,18,188,10
  91. LTEXT "&Program path and file name:",IDC_SPECIFY_APP_TEXT,27,
  92. 31,177,8
  93. EDITTEXT IDC_APP,27,41,208,14,ES_AUTOHSCROLL
  94. LTEXT "W&orking Directory",IDC_WORKDIR_STATIC,27,59,177,8
  95. EDITTEXT IDC_WORKDIR,27,69,208,14,ES_AUTOHSCROLL
  96. LTEXT "Properties will take effect on the next connection to this server.",
  97. IDC_STATIC,7,195,239,14
  98. GROUPBOX "Start a program",IDC_STATIC,3,4,245,85
  99. CONTROL "Redirect &local drives when logged on to the remote computer.",
  100. IDC_REDIRECT_DRIVES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,16,98,
  101. 225,14
  102. END
  103. IDD_NEWCON DIALOG DISCARDABLE 0, 0, 252, 218
  104. STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_CONTEXTHELP | WS_POPUP |
  105. WS_CAPTION | WS_SYSMENU
  106. CAPTION "Add New Connection"
  107. FONT 8, "MS Shell Dlg"
  108. BEGIN
  109. GROUPBOX "Connection",IDC_STATIC,7,7,239,88
  110. LTEXT "&Server name or IP address:",IDC_STATIC,16,17,188,8
  111. EDITTEXT IDC_SERVER,16,28,166,14,ES_AUTOHSCROLL
  112. PUSHBUTTON "B&rowse...",IDC_BROWSE_SERVERS,187,28,50,14
  113. LTEXT "&Connection name:",IDC_STATIC,16,48,188,8
  114. EDITTEXT IDC_DESCRIPTION,16,58,221,14,ES_AUTOHSCROLL
  115. CONTROL "Co&nnect to console",IDC_CONNECT_TO_CONSOLE,"Button",
  116. BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,16,
  117. 79,188,10
  118. GROUPBOX "Logon information",IDC_STATIC,7,102,239,92
  119. LTEXT "&User name:",IDC_USERNAME_STATIC,17,117,61,8
  120. EDITTEXT IDC_USERNAME,82,114,155,14,ES_AUTOHSCROLL
  121. LTEXT "&Password:",IDC_PASSWORD_STATIC,17,135,61,8
  122. EDITTEXT IDC_PASSWORD,82,132,155,14,ES_PASSWORD | ES_AUTOHSCROLL
  123. LTEXT "D&omain:",IDC_DOMAIN_STATIC,17,153,61,8
  124. EDITTEXT IDC_DOMAIN,82,150,155,14,ES_AUTOHSCROLL
  125. CONTROL "Sa&ve password",IDC_SAVE_PASSWORD,"Button",
  126. BS_AUTOCHECKBOX | BS_TOP | BS_MULTILINE | WS_TABSTOP,82,
  127. 170,156,10
  128. DEFPUSHBUTTON "OK",IDOK,142,200,50,14
  129. PUSHBUTTON "Cancel",IDCANCEL,196,200,50,14
  130. END
  131. IDD_DIALOGBROWSESERVERS DIALOG DISCARDABLE 0, 0, 252, 174
  132. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  133. CAPTION "Browse for Server"
  134. FONT 8, "MS Shell Dlg"
  135. BEGIN
  136. DEFPUSHBUTTON "OK",IDOK,141,153,50,14
  137. PUSHBUTTON "Cancel",IDCANCEL,195,153,50,14
  138. LTEXT "&Available servers:",IDC_STATIC,7,7,238,8
  139. CONTROL "ServerTree",UI_IDC_SERVERS_TREE,"SysTreeView32",
  140. TVS_HASBUTTONS | TVS_HASLINES | TVS_LINESATROOT |
  141. TVS_DISABLEDRAGDROP | TVS_NOTOOLTIPS | TVS_SHOWSELALWAYS |
  142. WS_BORDER | WS_TABSTOP,7,17,238,126
  143. END
  144. /////////////////////////////////////////////////////////////////////////////
  145. //
  146. // Bitmap
  147. //
  148. UI_IDB_SERVER BITMAP DISCARDABLE "srvnox.bmp"
  149. UI_IDB_DOMAINEX BITMAP DISCARDABLE "domainnx.bmp"
  150. UI_IDB_DOMAIN BITMAP DISCARDABLE "domainex.bmp"
  151. /////////////////////////////////////////////////////////////////////////////
  152. //
  153. // Icon
  154. //
  155. // Icon with lowest ID value placed first to ensure application icon
  156. // remains consistent on all systems.
  157. IDI_ICON_MACHINE ICON DISCARDABLE "machine.ico"
  158. IDI_ICON_MACHINES ICON DISCARDABLE "domain.ico"
  159. IDI_ICON_CONNECTED_MACHINE ICON DISCARDABLE "conmachine.ico"
  160. //Icons for browse for servers UI
  161. UI_IDI_DOMAIN ICON DISCARDABLE "domainnx.ico"
  162. UI_IDI_SERVER ICON DISCARDABLE "machine.ico"
  163. //
  164. // Snapin icon
  165. //
  166. IDI_ICON_RD_SNAPIN ICON DISCARDABLE "rdmmc.ico"
  167. /////////////////////////////////////////////////////////////////////////////
  168. //
  169. // String Table
  170. //
  171. STRINGTABLE DISCARDABLE
  172. BEGIN
  173. IDS_PROJNAME "Remote Desktops"
  174. UI_IDS_APP_NAME "Remote Desktops" //Used by browse for servers share UI
  175. IDS_CTXM_NEW_CONNECTION "&Add new connection..."
  176. IDS_CTXM_STATUS_NEW_CONNECTION "Add a new terminal services connection."
  177. IDS_CTXM_CONNECT "&Connect"
  178. IDS_CTXM_STATUS_CONNECT "Connects to the server"
  179. IDS_CTXM_DISCONNECT "Disco&nnect"
  180. IDS_CTXM_STATUS_DISCONNECT "Disconnects from the server"
  181. IDS_CTXM_PROPERTIES "Properties"
  182. IDS_CTXM_STATUS_PROPERTIES "Properties"
  183. IDS_MSG_WARNDELETE "The connection you are about to delete is still active. Deleting it will disconnect you from the server. Do you want to continue?"
  184. END
  185. STRINGTABLE DISCARDABLE
  186. BEGIN
  187. IDS_PROPERTIES "Properties"
  188. IDS_NETCON "General"
  189. END
  190. STRINGTABLE DISCARDABLE
  191. BEGIN
  192. IDS_CONNOPT "Screen Options"
  193. IDS_OTHERTAB "Other"
  194. IDS_INVALID_USER_NAME "The user name cannot contain the following characters.\n\n "" / \\ [ ] : ; | = , + * ? < >"
  195. IDS_INVALID_DOMAIN_NAME "The Domain cannot contain the following characters.\n\n ; : "" < > * + = \\ | ? ,"
  196. IDS_INVALID_PARAMS "A User name cannot consist solely of periods (.) and spaces."
  197. IDS_INVALID_SERVER_NAME "The server name cannot contain the following characters:\n\n spaces, tabs , ; : "" < > * + = \\ | ? ,"
  198. IDS_TOO_LONG "The connection name is too long. Enter a shorter connection name."
  199. IDS_DEL_CONFIRM "Are you sure you want to delete the selected connection(s).?"
  200. END
  201. STRINGTABLE DISCARDABLE
  202. BEGIN
  203. IDS_EMPTY_USER_NAME "User name cannot be blank. Enter a User name."
  204. IDS_EMPTY_DOMAIN "Domain cannot be blank. Enter the name of the Domain."
  205. IDS_ALL_SPACES "The Domain name cannot consist solely of spaces or tab characters."
  206. IDS_WELCOME_FONT "Verdana"
  207. IDS_WELCOME_FONT_SIZE "12"
  208. IDS_TITLE_FONT "Microsoft Sans Serif"
  209. IDS_TITLE_FONT_SIZE "8"
  210. END
  211. STRINGTABLE DISCARDABLE
  212. BEGIN
  213. IDS_MAINWINDOWTITLE "Terminal Services MMC client"
  214. IDS_E_SPECIFY_SRV "Server name or IP address cannot be blank. Specify a server."
  215. IDS_ROOTNODE_TEXT "Remote Desktops"
  216. IDS_PROVIDER "Microsoft Corporation"
  217. IDS_DESCRIPTION "Allows you to connect to terminal servers"
  218. IDS_INVALID_WIDTH_HEIGHT
  219. "The client screen area setting you have entered is invalid.\nThe valid range is %1!d! by %2!d! to %3!d! by %4!d! pixels."
  220. IDS_WIDTH_NOT_VALID "The client width you have entered is invalid.\nThe client width must be a multiple of 4 pixels. Please enter another client width."
  221. END
  222. STRINGTABLE DISCARDABLE
  223. BEGIN
  224. IDS_PROPERTIES_CAPTION "%s Properties"
  225. IDS_TIMEBOMB_EXPIRED "The evaluation period for the Remote Desktops snapin ended on 6/30/2000. Please upgrade to the relase version."
  226. IDS_TSCMMCSNAPHELP "\\help\\tscmmc.chm"
  227. IDS_TSCMMCHELPTOPIC "tscmmc.chm::/ts_tscmmc_topnode.htm"
  228. IDS_TSCMMCHELP_PROPS "tscmmc.chm::/ts_tscmmc_changeconnection.htm"
  229. IDS_STATUS_DISCONNECTED "Disconnected from server"
  230. IDS_STATUS_CONNECTING "Connecting to server %s..."
  231. IDS_STATUS_CONNECTED "Connected to server %s"
  232. UI_IDS_NO_TERMINAL_SERVER "The %s domain does not contain any Terminal servers."
  233. END
  234. //
  235. // MUI strings used for start menu and snapin registration
  236. //
  237. STRINGTABLE DISCARDABLE
  238. BEGIN
  239. IDS_SNAPIN_REG_TSMMC_NAME "Remote Desktops"
  240. IDS_STARTMENU_NAME_TSMMC "Remote Desktops"
  241. IDS_STARTMENU_TIP_TSMMC "Connect to multiple remote desktops"
  242. END
  243. /////////////////////////////////////////////////////////////////////////////
  244. /////////////////////////////////////////////////////////////////////////////
  245. //
  246. // Generated from the TEXTINCLUDE 3 resource.
  247. //
  248. 1 TYPELIB "tsmmc.tlb"
  249. /////////////////////////////////////////////////////////////////////////////