Source code of Windows XP (NT5)
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.

410 lines
17 KiB

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h\0"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""\r\n"
  31. "\0"
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#include ""res\\eventrap.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
  36. "\r\n"
  37. "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
  38. "#define _AFX_NO_OLE_RESOURCES\r\n"
  39. "#define _AFX_NO_TRACKER_RESOURCES\r\n"
  40. "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
  41. "#include ""afxres.rc"" // Standard components\r\n"
  42. "\0"
  43. END
  44. #endif // APSTUDIO_INVOKED
  45. /////////////////////////////////////////////////////////////////////////////
  46. //
  47. // Dialog
  48. //
  49. IDD_EVNTTRAPDLG DIALOG DISCARDABLE 0, 0, 346, 326
  50. STYLE DS_CONTEXTHELP | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP |
  51. WS_VISIBLE | WS_CLIPSIBLINGS | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME
  52. CAPTION "Event to Trap Translator"
  53. FONT 8, "MS Shell Dlg"
  54. BEGIN
  55. GROUPBOX "Configuration type",IDC_STAT_GRP_CONFIG_TYPE,9,7,264,31
  56. RADIOBUTTON "&Custom",IDC_RADIO_CUSTOM,27,19,58,12
  57. RADIOBUTTON "&Default",IDC_RADIO_DEFAULT,142,19,50,13
  58. LTEXT "Events to be &translated to traps:",IDC_STAT_LABEL0,7,
  59. 45,110,9
  60. CONTROL "Generic4",IDC_EVENTLIST,"SysListView32",LVS_REPORT |
  61. LVS_SHOWSELALWAYS | LVS_SORTASCENDING | LVS_ALIGNLEFT |
  62. WS_BORDER | WS_TABSTOP,7,61,264,129
  63. PUSHBUTTON "OK",IDOK,289,6,50,14
  64. PUSHBUTTON "Cancel",IDCANCEL,289,27,50,14
  65. PUSHBUTTON "App&ly",IDC_APPLY,289,49,50,14
  66. PUSHBUTTON "&Settings...",ID_SETTINGS,289,91,50,14
  67. PUSHBUTTON "&Properties...",ID_PROPERTIES,289,112,50,14
  68. PUSHBUTTON "E&xport...",ID_BUTTON_EXPORT,289,133,50,14
  69. PUSHBUTTON "&View",ID_VIEW,289,154,50,14
  70. PUSHBUTTON "&Add",ID_ADD,93,202,50,14
  71. PUSHBUTTON "&Remove",ID_REMOVE,145,202,50,14
  72. PUSHBUTTON "&Find",ID_FIND,289,202,50,14
  73. LTEXT "Event s&ources:",IDC_STAT_LABEL1,9,223,50,11
  74. CONTROL "Generic1",IDC_TV_SOURCES,"SysTreeView32",TVS_HASBUTTONS |
  75. TVS_HASLINES | TVS_LINESATROOT | TVS_DISABLEDRAGDROP |
  76. TVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,9,235,134,82
  77. LTEXT "Eve&nts:",IDC_STAT_LABEL2,115,223,28,11
  78. CONTROL "Generic2",IDC_LV_SOURCES,"SysListView32",LVS_REPORT |
  79. LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,145,235,195,
  80. 82
  81. DEFPUSHBUTTON "Default",IDC_DEFAULT,9,200,39,15,NOT WS_VISIBLE
  82. END
  83. IDD_PROPERTIESDLG DIALOG DISCARDABLE 0, 0, 333, 274
  84. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  85. WS_SYSMENU
  86. CAPTION "Properties"
  87. FONT 8, "MS Shell Dlg"
  88. BEGIN
  89. GROUPBOX "Generate trap",IDD_NULL,15,102,240,49
  90. LTEXT "if event &count reaches",ID_THRESHOLD_LABEL,23,115,79,8,
  91. SS_NOTIFY
  92. EDITTEXT IDC_EVENTCOUNT,108,114,28,13,ES_AUTOHSCROLL
  93. CONTROL "Generic1",IDC_EVENTCOUNTSPN,"msctls_updown32",
  94. UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS |
  95. UDS_NOTHOUSANDS,136,114,10,14
  96. CONTROL "within &time interval",IDC_WITHINTIME,"Button",
  97. BS_AUTOCHECKBOX | WS_TABSTOP,23,131,75,10
  98. EDITTEXT IDC_TIMEINTERVAL,108,130,28,13,ES_AUTOHSCROLL
  99. CONTROL "Generic5",IDC_TIMEINTRVLSPN,"msctls_updown32",
  100. UDS_SETBUDDYINT | UDS_AUTOBUDDY | UDS_ARROWKEYS |
  101. UDS_NOTHOUSANDS,136,130,10,14
  102. LTEXT "seconds",IDD_NULL,151,131,28,8
  103. LTEXT "&Description:",IDD_NULL,15,167,38,8
  104. EDITTEXT IDC_DESCRIPTION,15,180,240,70,ES_MULTILINE |
  105. ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
  106. DEFPUSHBUTTON "OK",IDOK,275,10,50,14
  107. PUSHBUTTON "Cancel",IDCANCEL,275,30,50,14
  108. RTEXT "Source:",ID_SOURCE_LABEL,15,18,56,8,SS_NOTIFY
  109. LTEXT "Source Name",ID_STAT_SOURCE,81,18,174,8,SS_NOTIFY
  110. RTEXT "Enterprise OID:",ID_OID_LABEL,15,34,56,8,SS_NOTIFY
  111. EDITTEXT IDC_EDIT_ENTERPRISEOID,81,34,174,12,ES_AUTOHSCROLL |
  112. ES_READONLY
  113. RTEXT "Log:",ID_LOG_LABEL,15,50,56,8,SS_NOTIFY
  114. LTEXT "Source Log",ID_STAT_LOG,81,50,174,8,SS_NOTIFY
  115. RTEXT "Event:",ID_EVENTID_LABEL,15,66,56,8,SS_NOTIFY
  116. LTEXT "Event Number",ID_STAT_EVENTID,81,66,174,8,SS_NOTIFY
  117. RTEXT "Trap specific ID:",ID_TRAPID_LABEL,15,82,56,8,SS_NOTIFY
  118. EDITTEXT IDC_EDIT_FULL_EVENT_ID,81,79,174,12,ES_AUTOHSCROLL |
  119. ES_READONLY
  120. CONTROL "",IDD_NULL,"Static",SS_WHITEFRAME,6,7,259,259
  121. END
  122. IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 217, 81
  123. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  124. CAPTION "Dialog"
  125. FONT 8, "MS Shell Dlg"
  126. BEGIN
  127. DEFPUSHBUTTON "OK",IDOK,161,13,50,14
  128. ICON IDR_MAINICON,IDC_STATIC,10,18,20,20
  129. LTEXT "EvntWin Version 05.00.00.xxxx.1",IDC_STATIC,37,14,109,
  130. 11
  131. LTEXT "Copyright (C) 1999",IDC_STATIC,37,36,109,11
  132. END
  133. IDD_EVENTFINDDLG DIALOG DISCARDABLE 0, 0, 235, 120
  134. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  135. WS_SYSMENU
  136. CAPTION "Find"
  137. FONT 8, "MS Shell Dlg"
  138. BEGIN
  139. LTEXT "Fi&nd what:",IDC_STATIC,6,10,38,11,SS_NOTIFY
  140. EDITTEXT IDC_EDIT_FIND_WHAT,48,10,117,13,ES_AUTOHSCROLL
  141. CONTROL "Event &sources",IDC_RADIO_SEARCH_SOURCES,"Button",
  142. BS_AUTORADIOBUTTON,14,47,62,9
  143. CONTROL "&Event descriptions",IDC_RADIO_SEARCH_DESCRIPTIONS,
  144. "Button",BS_AUTORADIOBUTTON,79,47,74,10
  145. PUSHBUTTON "&Find next",IDC_FIND_OK,178,10,50,14
  146. PUSHBUTTON "Cancel",IDC_FIND_CANCEL,178,29,50,14
  147. CONTROL "Match &whole word only.",IDC_CHECK_MATCH_WHOLEWORD,
  148. "Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,80,90,11
  149. CONTROL "Match &case",IDC_CHECK_MATCH_CASE,"Button",
  150. BS_AUTOCHECKBOX | WS_TABSTOP,6,95,90,11
  151. GROUPBOX "Search in",IDC_STATIC,6,31,159,35
  152. END
  153. IDD_SAVE_PROGRESS DIALOG DISCARDABLE 0, 0, 161, 30
  154. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  155. CAPTION "Saving Trap Configuration"
  156. FONT 8, "MS Shell Dlg"
  157. BEGIN
  158. CONTROL "Generic1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,4,
  159. 9,153,13
  160. END
  161. IDD_SETTINGSDLG DIALOGEX 0, 0, 237, 234
  162. STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION |
  163. WS_SYSMENU
  164. CAPTION "Settings"
  165. FONT 8, "MS Shell Dlg", 0, 0, 0x1
  166. BEGIN
  167. GROUPBOX "Trap length limit",IDD_NULL,7,9,164,101
  168. CONTROL "&Limit trap length",IDC_LIMITMSGLNGTH,"Button",
  169. BS_AUTOCHECKBOX | WS_TABSTOP,13,24,92,12
  170. LTEXT "&Trap length: ",IDC_STAT_TRAP_LENGTH,14,47,41,10,
  171. SS_NOTIFY
  172. EDITTEXT IDC_EDIT_MESSAGELENGTH,57,45,43,14
  173. CONTROL "Generic1",IDC_MSGLENGTHSPN,"msctls_updown32",
  174. UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY |
  175. UDS_ARROWKEYS | UDS_NOTHOUSANDS,88,45,12,14
  176. CONTROL "Trim insertion &strings first",IDC_RADIO1,"Button",
  177. BS_AUTORADIOBUTTON | WS_GROUP,31,76,114,11
  178. CONTROL "Trim formatted &message first",IDC_RADIO2,"Button",
  179. BS_AUTORADIOBUTTON,31,90,114,11
  180. GROUPBOX "Trap throttle",IDD_NULL,8,115,164,112
  181. CONTROL "&Apply throttle",IDC_RADIO_ENABLE,"Button",
  182. BS_AUTORADIOBUTTON | WS_GROUP,14,127,61,12
  183. CONTROL "&Don't apply throttle",IDC_RADIO_DISABLE,"Button",
  184. BS_AUTORADIOBUTTON,14,145,78,9
  185. PUSHBUTTON "&Reset",IDC_BUTTON_RESET,110,129,50,14
  186. LTEXT "Stop translation if a specific number of traps are sent in a certain interval of time.",
  187. IDC_STATIC_MSG,14,161,152,17
  188. LTEXT "&Number of traps: ",IDC_STATIC_NTRAPS,19,187,92,11,
  189. SS_NOTIFY,WS_EX_RIGHT
  190. EDITTEXT IDC_EDIT_TRAP_COUNT,115,186,33,14
  191. LTEXT "&Interval of time (seconds): ",IDC_STATIC_INTERVAL,19,
  192. 204,92,9,SS_NOTIFY,WS_EX_RIGHT
  193. EDITTEXT IDC_EDIT_TRAP_SECONDS,115,203,33,14
  194. DEFPUSHBUTTON "OK",IDOK,178,13,50,14
  195. PUSHBUTTON "Cancel",IDCANCEL,178,31,50,14
  196. LTEXT "bytes",IDC_STATIC_BYTES,106,47,21,10
  197. END
  198. IDD_LOAD_PROGRESS DIALOG DISCARDABLE 0, 0, 161, 55
  199. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
  200. CAPTION "Loading Trap Configuration"
  201. FONT 8, "MS Shell Dlg"
  202. BEGIN
  203. CONTROL "Generic1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,4,
  204. 9,153,13
  205. DEFPUSHBUTTON "Cancel",IDCANCEL,55,32,50,14
  206. END
  207. /////////////////////////////////////////////////////////////////////////////
  208. //
  209. // Bitmap
  210. //
  211. CTL3D_CHECK BITMAP MOVEABLE PURE "res\\3dcheck.bmp"
  212. IDB_FOLDERCLOSE BITMAP DISCARDABLE "res\\foldercl.bmp"
  213. IDB_FOLDEROPEN BITMAP DISCARDABLE "res\\folderop.bmp"
  214. /////////////////////////////////////////////////////////////////////////////
  215. //
  216. // Cursor
  217. //
  218. IDC_CURSOR1 CURSOR DISCARDABLE "res\\cursor1.cur"
  219. /////////////////////////////////////////////////////////////////////////////
  220. //
  221. // Icon
  222. //
  223. // Icon with lowest ID value placed first to ensure application icon
  224. // remains consistent on all systems.
  225. IDR_MAINICON ICON DISCARDABLE "res\\eventrap.ico"
  226. /////////////////////////////////////////////////////////////////////////////
  227. //
  228. // DESIGNINFO
  229. //
  230. #ifdef APSTUDIO_INVOKED
  231. GUIDELINES DESIGNINFO DISCARDABLE
  232. BEGIN
  233. IDD_EVNTTRAPDLG, DIALOG
  234. BEGIN
  235. BOTTOMMARGIN, 317
  236. END
  237. END
  238. #endif // APSTUDIO_INVOKED
  239. /////////////////////////////////////////////////////////////////////////////
  240. //
  241. // Menu
  242. //
  243. IDR_CTXMENUS MENU DISCARDABLE
  244. BEGIN
  245. POPUP "LcEventPopup"
  246. BEGIN
  247. MENUITEM "&Remove Events", ID_REMOVE
  248. MENUITEM SEPARATOR
  249. MENUITEM "&Settings", ID_SETTINGS
  250. MENUITEM "&Properties", ID_PROPERTIES
  251. MENUITEM SEPARATOR
  252. MENUITEM "E&xport Events", ID_BUTTON_EXPORT
  253. END
  254. POPUP "LcSourcePopup"
  255. BEGIN
  256. MENUITEM "&Add Events", ID_ADD
  257. MENUITEM "&Find Events", ID_FIND
  258. END
  259. END
  260. /////////////////////////////////////////////////////////////////////////////
  261. //
  262. // String Table
  263. //
  264. STRINGTABLE DISCARDABLE
  265. BEGIN
  266. IDS_NOT_TRAPPING "no"
  267. END
  268. STRINGTABLE DISCARDABLE
  269. BEGIN
  270. IDS_IS_TRAPPING "yes"
  271. IDS_MULTIPLE_SEL "<Multiple>"
  272. IDS_MSG_TEXTNOTFOUND "Text was not found."
  273. IDS_MSG_SELECTEVENT "Please select an event."
  274. IDS_MSG_DELETEEVENT "Delete the selected events?"
  275. IDS_COLHDR_TYPE "Log"
  276. IDS_CANTCONNECT "Unable to connect to the requested machine "
  277. IDS_ALREADYTRAPPING "The selected events are already trapping. You may modify their properties or remove them from the list in the main window."
  278. IDS_SOMETRAPPING "One or more of the selected events are already trapping. Only the non-trapping selections will be added."
  279. END
  280. STRINGTABLE DISCARDABLE
  281. BEGIN
  282. IDS_EVENT_SEV_SUCCESS "Success"
  283. IDS_EVENT_SEV_INFORMATIONAL "Informational"
  284. IDS_EVENT_SEV_WARNING "Warning"
  285. IDS_EVENT_SEV_ERROR "Error"
  286. IDS_LcSource_TITLE_EVENT_ID "Event ID"
  287. IDS_LcSource_TITLE_TRAPPING "Trapping"
  288. IDS_LcSource_TITLE_DESCRIPTION "Description"
  289. IDS_LcSource_TITLE_SEVERITY "Severity"
  290. IDS_LcEvents_TITLE_LOG "Event Log"
  291. IDS_LcEvents_TITLE_SOURCE "Source"
  292. IDS_LcEvents_TITLE_ID "Event ID"
  293. IDS_LcEvents_TITLE_SEVERITY "Severity"
  294. IDS_LcEvents_TITLE_COUNT "Count"
  295. IDS_LcEvents_TITLE_TIME "Time"
  296. IDS_LcEvents_TITLE_DESCRIPTION "Description"
  297. END
  298. STRINGTABLE DISCARDABLE
  299. BEGIN
  300. IDS_TITLE_EDIT_BUTTON "&Edit >>"
  301. IDS_TITLE_VIEW_BUTTON "<< Vi&ew"
  302. IDS_ERR_REGISTRY_CORRUPTED
  303. "EvntWin's configuration information may have been corrupted. Expected configuration information could not be found in the registry."
  304. IDS_ERR_NOT_INSTALLED "EvntWin has not been installed yet. You must first install the SNMP service on this computer before running EvntWin."
  305. IDS_WARNING_CANT_READ_CONFIG
  306. "An error occurred when EvntWin tried to read its configuration information from the registry."
  307. IDS_WARNING_NO_MESSAGE_SELECTED
  308. "No messages selected. To add messages to the event list, you must first select one or more messages."
  309. IDS_ERR_INVALID_ARGUMENT
  310. "EvntWin was started with the wrong number of arguments. "
  311. IDS_EXPORT_DIALOG_TITLE "Export Events"
  312. IDS_EXPORT_DEFAULT_FILENAME "events.cnf"
  313. END
  314. STRINGTABLE DISCARDABLE
  315. BEGIN
  316. IDS_EXPORT_CNF_FILTER "Configuration Files (*.*)"
  317. IDS_ERR_CANT_CREATE_FILE "Can't create file: "
  318. IDS_WARNING_CANT_WRITE_CONFIG
  319. "An error occurred while attempting to write configuration information to the registry."
  320. IDS_ERR_PROP_TIME1 "Event count must be at least two when a time interval is specified."
  321. IDS_ERR_PROP_TIME2 "Time interval must be at least one."
  322. IDS_ERR_PROP_TIME_LESS_THAN_TWO "Event count must be at least one."
  323. IDS_RANGE_MESSAGE_PREFIX "Please enter an integer value between"
  324. IDS_RANGE_VALUE_SEPARATOR "and"
  325. IDS_SENTENCE_TERMINATOR "."
  326. IDS_ERR_SETTINGS_MESSAGELENGTH_NOT_INT
  327. "The trap length must be an integer."
  328. END
  329. STRINGTABLE DISCARDABLE
  330. BEGIN
  331. IDS_SETTINGS_MESSAGE_LENGTH_RANGE "The trap length is out of range. "
  332. IDS_ERR_SETTINGS_TRAPSECONDS_NOT_INT
  333. "The number of seconds must be an integer."
  334. IDS_SETTINGS_TRAPSECONDS_RANGE "The number of seconds is out of range. "
  335. IDS_ERR_SETTINGS_TRAPCOUNT_NOT_INT
  336. "The number of traps must be an integer."
  337. IDS_ERR_SETTINGS_TRAPCOUNT_RANGE "The number of traps is out of range. "
  338. IDS_ERR_REGISTRY_BUSY "The event-to-trap settings are locked.\nThis usually happens when another application either terminated unexpectedly \nor it is currently busy editing the event-to-trap settings. Resetting the lock in the\nlatter case might lead to an inconsistent event-to-trap configuration.\n\nDo you want to reset the existing lock and continue?"
  339. IDS_CONFIGTYPE_DEFAULT "Default Settings"
  340. IDS_CONFIGTYPE_CUSTOM "Custom Settings"
  341. IDS_CONFIGTYPE_DEFAULT_PENDING "Default Settings Pending"
  342. IDS_ERR_REG_NO_ACCESS "You do not have sufficient access rights. To edit the event-to-trap configuration, you must have administrator priviledges on the target machine."
  343. IDS_ERR_REG_NO_READ_ACCESS
  344. "You do not have sufficient access rights to read the configuration from the registry. To edit the event-to-trap configuration, you must have administrator priviledges on the target machine."
  345. IDS_ERR_RANGE "Invalid value. Please enter an integer between %d and %d."
  346. IDS_ERROR_NOT_RESPONDING "The remote system is not responding."
  347. IDS_ERR_LOAD_MESSAGE_FILE_FAILED "Can't load message file: %s"
  348. IDS_ERR_MESSAGE_NOT_FOUND
  349. "The current trap configuration contains at least one event description that is not valid. The corresponding event(s) will not be loaded."
  350. END
  351. #endif // English (U.S.) resources
  352. /////////////////////////////////////////////////////////////////////////////
  353. #ifndef APSTUDIO_INVOKED
  354. /////////////////////////////////////////////////////////////////////////////
  355. //
  356. // Generated from the TEXTINCLUDE 3 resource.
  357. //
  358. #include "res\eventrap.rc2" // non-Microsoft Visual C++ edited resources
  359. #define _AFX_NO_SPLITTER_RESOURCES
  360. #define _AFX_NO_OLE_RESOURCES
  361. #define _AFX_NO_TRACKER_RESOURCES
  362. #define _AFX_NO_PROPERTY_RESOURCES
  363. #include "afxres.rc" // Standard components
  364. /////////////////////////////////////////////////////////////////////////////
  365. #endif // not APSTUDIO_INVOKED