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.

228 lines
7.9 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // File: cmmon.rc
  4. //
  5. // Module: CMMON32.EXE
  6. //
  7. // Synopsis: Resource script for cmmon32.exe
  8. //
  9. // Copyright (c) 1998-1999 Microsoft Corporation
  10. //
  11. // Author: quintinb Created Header 08/16/99
  12. //
  13. //+----------------------------------------------------------------------------
  14. //Microsoft Developer Studio generated resource script.
  15. //
  16. //
  17. #ifndef APSTUDIO_INVOKED
  18. #include "pnpuverp.h"
  19. #include "cmprdver.h"
  20. #define VER_FILETYPE VFT_APP
  21. #define VER_FILESUBTYPE VFT2_UNKNOWN
  22. #define VER_FILEDESCRIPTION_STR "Microsoft Connection Manager Monitor"
  23. #define VER_INTERNALNAME_STR "CMMON32"
  24. #define VER_ORIGINALFILENAME_STR "CMMON32.exe"
  25. #include <common.ver>
  26. #endif // not APSTUDIO_INVOKED
  27. #include "resource.h"
  28. #define APSTUDIO_READONLY_SYMBOLS
  29. /////////////////////////////////////////////////////////////////////////////
  30. //
  31. // Generated from the TEXTINCLUDE 2 resource.
  32. //
  33. #include <windows.h>
  34. /////////////////////////////////////////////////////////////////////////////
  35. #undef APSTUDIO_READONLY_SYMBOLS
  36. /////////////////////////////////////////////////////////////////////////////
  37. // English (U.S.) resources
  38. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  39. #ifdef _WIN32
  40. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  41. #pragma code_page(1252)
  42. #endif //_WIN32
  43. /////////////////////////////////////////////////////////////////////////////
  44. //
  45. // Dialog
  46. //
  47. IDD_CONNSTAT DIALOGEX 0, 0, 202, 86
  48. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  49. EXSTYLE WS_EX_CONTEXTHELP | WS_EX_APPWINDOW
  50. CAPTION "Connected"
  51. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  52. BEGIN
  53. ICON IDI_APP,IDC_CONNSTAT_ICON,8,8,20,20
  54. LTEXT "Call duration:",IDC_CONNSTAT_STATIC_CALL_DURATION,45,10,
  55. 54,8
  56. LTEXT "",IDC_CONNSTAT_DURATION_DISPLAY,103,10,54,8
  57. LTEXT "Connect speed:",IDC_CONNSTAT_STATIC_CONNECT_SPEED,45,20,
  58. 54,8
  59. LTEXT "",IDC_CONNSTAT_SPEED_DISPLAY,103,20,54,8
  60. LTEXT "Bytes received:",IDC_CONNSTAT_STATIC_BYTES_RECEIVED,45,
  61. 30,54,8
  62. LTEXT "",IDC_CONNSTAT_RECEIVED_DISPLAY,103,30,87,8
  63. LTEXT "Bytes sent:",IDC_CONNSTAT_STATIC_BYTES_SENT,45,40,54,8
  64. LTEXT "",IDC_CONNSTAT_SENT_DISPLAY,103,40,87,8
  65. CTEXT "",IDC_CONNSTAT_DISCONNECT_DISPLAY,8,50,194,8
  66. DEFPUSHBUTTON "OK",IDOK,45,64,56,14
  67. PUSHBUTTON "&Disconnect",IDC_DISCONNECT,106,64,58,14
  68. LTEXT "\nYou are about to be disconnected. Press the ""Stay Online"" button to remain connected.",
  69. IDC_AUTODISC,45,19,152,30,NOT WS_VISIBLE
  70. END
  71. IDD_CONNSTATNT4 DIALOGEX 0, 0, 202, 66
  72. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
  73. EXSTYLE WS_EX_CONTEXTHELP | WS_EX_APPWINDOW
  74. CAPTION "Connected"
  75. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  76. BEGIN
  77. ICON IDI_APP,IDC_CONNSTAT_ICON,8,8,20,20
  78. LTEXT "Connection Time:",IDC_CONNSTAT_STATIC_CALL_DURATION,45,
  79. 10,56,8
  80. LTEXT "",IDC_CONNSTAT_DURATION_DISPLAY,105,10,54,8
  81. CTEXT "",IDC_CONNSTAT_DISCONNECT_DISPLAY,8,36,194,8
  82. DEFPUSHBUTTON "OK",IDOK,8,47,50,14
  83. PUSHBUTTON "&Disconnect",IDC_DISCONNECT,71,47,60,14
  84. PUSHBUTTON "D&etails ...",IDC_DETAILS,144,47,50,14
  85. LTEXT "You are about to be disconnected. Press the ""Stay Online"" button to remain connected.",
  86. IDC_AUTODISC,46,19,152,18
  87. LTEXT "For more information about your connection, press the ""Details"" button.",
  88. IDC_DETAILINFO,45,19,152,18
  89. END
  90. IDD_RECONNECT DIALOGEX 0, 0, 186, 56
  91. STYLE DS_MODALFRAME | DS_NOIDLEMSG | DS_CENTER | WS_POPUP | WS_VISIBLE |
  92. WS_CAPTION
  93. EXSTYLE WS_EX_APPWINDOW
  94. CAPTION "Reconnect"
  95. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  96. BEGIN
  97. DEFPUSHBUTTON "&Yes",IDOK,33,34,50,14
  98. PUSHBUTTON "&No",IDCANCEL,103,34,50,14
  99. LTEXT "",IDC_RECONNECT_MSG,35,5,142,26
  100. ICON IDI_APP,IDC_CONNSTAT_ICON,6,6,21,20
  101. END
  102. /////////////////////////////////////////////////////////////////////////////
  103. //
  104. // Menu
  105. //
  106. IDM_TRAY MENU DISCARDABLE
  107. BEGIN
  108. POPUP "Tray"
  109. BEGIN
  110. MENUITEM "&Status...", IDMC_TRAY_STATUS
  111. MENUITEM "&Disconnect", IDC_DISCONNECT
  112. END
  113. END
  114. /////////////////////////////////////////////////////////////////////////////
  115. //
  116. // Icon
  117. //
  118. // Icon with lowest ID value placed first to ensure application icon
  119. // remains consistent on all systems.
  120. IDI_APP ICON DISCARDABLE "..\cmdial\cm.ico"
  121. /////////////////////////////////////////////////////////////////////////////
  122. //
  123. // DESIGNINFO
  124. //
  125. #ifdef APSTUDIO_INVOKED
  126. GUIDELINES DESIGNINFO DISCARDABLE
  127. BEGIN
  128. IDD_RECONNECT, DIALOG
  129. BEGIN
  130. LEFTMARGIN, 7
  131. RIGHTMARGIN, 179
  132. TOPMARGIN, 7
  133. BOTTOMMARGIN, 50
  134. END
  135. END
  136. #endif // APSTUDIO_INVOKED
  137. STRINGTABLE DISCARDABLE
  138. BEGIN
  139. IDMSG_CONNSPEED "%s bps"
  140. IDMSG_CONNDUR "%02u:%02u:%02u"
  141. IDS_REG_DIALUP_ADAPTER "Dial-up Adapter"
  142. END
  143. STRINGTABLE DISCARDABLE
  144. BEGIN
  145. IDMSG_CONNCNT "%s"
  146. IDMSG_CONNCNTRATE "%s (%s cps)"
  147. IDMSG_CONNDISCONNECT "%u seconds until disconnect."
  148. IDMSG_CONNDISC_STAYONLINE "Stay Online"
  149. IDMSG_CONNDISC_DISCNOW "Disconnect Now"
  150. IDMSG_CONNDISC_OK "OK"
  151. IDMSG_CONNDISC_DISCONNECT "Disconnect"
  152. IDMSG_DUR_START "Connected for %u seconds."
  153. IDMSG_DUR_START2 "Connected for %u second."
  154. IDMSG_DUR_START3 "Connected for %u seconds."
  155. IDMSG_DUR_START4 "Connected for %u minute."
  156. IDMSG_DUR_START5 "Connected for %u minute, %u second."
  157. IDMSG_DUR_START6 "Connected for %u minute, %u seconds."
  158. IDMSG_DUR_START7 "Connected for %u minutes."
  159. END
  160. STRINGTABLE DISCARDABLE
  161. BEGIN
  162. IDMSG_DUR_START8 "Connected for %u minutes, %u second."
  163. IDMSG_DUR_START9 "Connected for %u minutes, %u seconds."
  164. IDMSG_DUR_START10 "Connected for %u hour."
  165. IDMSG_DUR_START11 "Connected for %u hour, %u second."
  166. IDMSG_DUR_START12 "Connected for %u hour, %u seconds."
  167. IDMSG_DUR_START13 "Connected for %u hour, %u minute."
  168. IDMSG_DUR_START14 "Connected for %u hour, %u minute, %u second."
  169. IDMSG_DUR_START15 "Connected for %u hour, %u minute, %u seconds."
  170. IDMSG_DUR_START16 "Connected for %u hour, %u minutes."
  171. IDMSG_DUR_START17 "Connected for %u hour, %u minutes, %u second."
  172. IDMSG_DUR_START18 "Connected for %u hour, %u minutes, %u seconds."
  173. IDMSG_DUR_START19 "Connected for %u hours."
  174. IDMSG_DUR_START20 "Connected for %u hours, %u second."
  175. IDMSG_DUR_START21 "Connected for %u hours, %u seconds."
  176. IDMSG_DUR_START22 "Connected for %u hours, %u minute."
  177. IDMSG_DUR_START23 "Connected for %u hours, %u minute, %u second."
  178. END
  179. STRINGTABLE DISCARDABLE
  180. BEGIN
  181. IDMSG_DUR_START24 "Connected for %u hours, %u minute, %u seconds."
  182. IDMSG_DUR_START25 "Connected for %u hours, %u minutes."
  183. IDMSG_DUR_START26 "Connected for %u hours, %u minutes, %u second."
  184. IDMSG_DUR_START27 "Connected for %u hours, %u minutes, %u seconds."
  185. IDMSG_RECONNECT "Connection to %s was terminated. Do you want to reconnect?"
  186. END
  187. #endif // English (U.S.) resources
  188. /////////////////////////////////////////////////////////////////////////////
  189. #ifndef APSTUDIO_INVOKED
  190. /////////////////////////////////////////////////////////////////////////////
  191. //
  192. // Generated from the TEXTINCLUDE 3 resource.
  193. //
  194. /////////////////////////////////////////////////////////////////////////////
  195. #endif // not APSTUDIO_INVOKED