📄 eventrap.rc
字号:
EDITTEXT IDC_EDIT_TRAP_COUNT,115,186,33,14
LTEXT "&Interval of time (seconds): ",IDC_STATIC_INTERVAL,19,
204,92,9,SS_NOTIFY,WS_EX_RIGHT
EDITTEXT IDC_EDIT_TRAP_SECONDS,115,203,33,14
DEFPUSHBUTTON "OK",IDOK,178,13,50,14
PUSHBUTTON "Cancel",IDCANCEL,178,31,50,14
LTEXT "bytes",IDC_STATIC_BYTES,106,47,21,10
END
IDD_LOAD_PROGRESS DIALOG DISCARDABLE 0, 0, 161, 55
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "Loading Trap Configuration"
FONT 8, "MS Shell Dlg"
BEGIN
CONTROL "Generic1",IDC_PROGRESS,"msctls_progress32",WS_BORDER,4,
9,153,13
DEFPUSHBUTTON "Cancel",IDCANCEL,55,32,50,14
END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
CTL3D_CHECK BITMAP MOVEABLE PURE "res\\3dcheck.bmp"
IDB_FOLDERCLOSE BITMAP DISCARDABLE "res\\foldercl.bmp"
IDB_FOLDEROPEN BITMAP DISCARDABLE "res\\folderop.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// Cursor
//
IDC_CURSOR1 CURSOR DISCARDABLE "res\\cursor1.cur"
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINICON ICON DISCARDABLE "res\\eventrap.ico"
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
IDD_EVNTTRAPDLG, DIALOG
BEGIN
BOTTOMMARGIN, 317
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_CTXMENUS MENU DISCARDABLE
BEGIN
POPUP "LcEventPopup"
BEGIN
MENUITEM "&Remove Events", ID_REMOVE
MENUITEM SEPARATOR
MENUITEM "&Settings", ID_SETTINGS
MENUITEM "&Properties", ID_PROPERTIES
MENUITEM SEPARATOR
MENUITEM "E&xport Events", ID_BUTTON_EXPORT
END
POPUP "LcSourcePopup"
BEGIN
MENUITEM "&Add Events", ID_ADD
MENUITEM "&Find Events", ID_FIND
END
END
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_NOT_TRAPPING "no"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_IS_TRAPPING "yes"
IDS_MULTIPLE_SEL "<Multiple>"
IDS_MSG_TEXTNOTFOUND "Text was not found."
IDS_MSG_SELECTEVENT "Please select an event."
IDS_MSG_DELETEEVENT "Delete the selected events?"
IDS_COLHDR_TYPE "Log"
IDS_CANTCONNECT "Unable to connect to the requested machine "
IDS_ALREADYTRAPPING "The selected events are already trapping. You may modify their properties or remove them from the list in the main window."
IDS_SOMETRAPPING "One or more of the selected events are already trapping. Only the non-trapping selections will be added."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_EVENT_SEV_SUCCESS "Success"
IDS_EVENT_SEV_INFORMATIONAL "Informational"
IDS_EVENT_SEV_WARNING "Warning"
IDS_EVENT_SEV_ERROR "Error"
IDS_LcSource_TITLE_EVENT_ID "Event ID"
IDS_LcSource_TITLE_TRAPPING "Trapping"
IDS_LcSource_TITLE_DESCRIPTION "Description"
IDS_LcSource_TITLE_SEVERITY "Severity"
IDS_LcEvents_TITLE_LOG "Event Log"
IDS_LcEvents_TITLE_SOURCE "Source"
IDS_LcEvents_TITLE_ID "Event ID"
IDS_LcEvents_TITLE_SEVERITY "Severity"
IDS_LcEvents_TITLE_COUNT "Count"
IDS_LcEvents_TITLE_TIME "Time"
IDS_LcEvents_TITLE_DESCRIPTION "Description"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_TITLE_EDIT_BUTTON "&Edit >>"
IDS_TITLE_VIEW_BUTTON "<< Vi&ew"
IDS_ERR_REGISTRY_CORRUPTED
"EvntWin's configuration information may have been corrupted. Expected configuration information could not be found in the registry."
IDS_ERR_NOT_INSTALLED "EvntWin has not been installed yet. You must first install the SNMP service on this computer before running EvntWin."
IDS_WARNING_CANT_READ_CONFIG
"An error occurred when EvntWin tried to read its configuration information from the registry."
IDS_WARNING_NO_MESSAGE_SELECTED
"No messages selected. To add messages to the event list, you must first select one or more messages."
IDS_ERR_INVALID_ARGUMENT
"EvntWin was started with the wrong number of arguments. "
IDS_EXPORT_DIALOG_TITLE "Export Events"
IDS_EXPORT_DEFAULT_FILENAME "events.cnf"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_EXPORT_CNF_FILTER "Configuration Files (*.*)"
IDS_ERR_CANT_CREATE_FILE "Can't create file: "
IDS_WARNING_CANT_WRITE_CONFIG
"An error occurred while attempting to write configuration information to the registry."
IDS_ERR_PROP_TIME1 "Event count must be at least two when a time interval is specified."
IDS_ERR_PROP_TIME2 "Time interval must be at least one."
IDS_ERR_PROP_TIME_LESS_THAN_TWO "Event count must be at least one."
IDS_RANGE_MESSAGE_PREFIX "Please enter an integer value between"
IDS_RANGE_VALUE_SEPARATOR "and"
IDS_SENTENCE_TERMINATOR "."
IDS_ERR_SETTINGS_MESSAGELENGTH_NOT_INT
"The trap length must be an integer."
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SETTINGS_MESSAGE_LENGTH_RANGE "The trap length is out of range. "
IDS_ERR_SETTINGS_TRAPSECONDS_NOT_INT
"The number of seconds must be an integer."
IDS_SETTINGS_TRAPSECONDS_RANGE "The number of seconds is out of range. "
IDS_ERR_SETTINGS_TRAPCOUNT_NOT_INT
"The number of traps must be an integer."
IDS_ERR_SETTINGS_TRAPCOUNT_RANGE "The number of traps is out of range. "
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?"
IDS_CONFIGTYPE_DEFAULT "Default Settings"
IDS_CONFIGTYPE_CUSTOM "Custom Settings"
IDS_CONFIGTYPE_DEFAULT_PENDING "Default Settings Pending"
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."
IDS_ERR_REG_NO_READ_ACCESS
"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."
IDS_ERR_RANGE "Invalid value. Please enter an integer between %d and %d."
IDS_ERROR_NOT_RESPONDING "The remote system is not responding."
IDS_ERR_LOAD_MESSAGE_FILE_FAILED "Can't load message file: %s"
IDS_ERR_MESSAGE_NOT_FOUND
"The current trap configuration contains at least one event description that is not valid. The corresponding event(s) will not be loaded."
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#include "res\eventrap.rc2" // non-Microsoft Visual C++ edited resources
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#include "afxres.rc" // Standard components
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -