ITcEventView

The interface ITcEventView is used to control the apperance of the TcEventVierwer ActiveX control. The interface derives from IDispatch so that it can be used by all languages that support COM automation interfaces. IDispatch itself derives from IUnknown.

Methods and Properties in Vtable Order

IUnknown Methods

Description

QueryInterface

Returns a pointer to the queried interface

AddRef

Increments the reference counter

Release

Decrements the reference counter

 

IDispatch Methods

Description

GetIDsOfNames

Maps a single member name and an optional set of parameter names to a corresponding set of integer dispatch identifiers (DISPIDs), which can be used on subsequent calls to IDispatch::Invoke.

GetTypeInfo

Retrieves the type information of an object.

GetTypeInfoCount

Retrieves the number of type information interfaces that an object provides, either 0 or 1.

Invoke

Provides access to properties and methods exposed by an object.

 

ITcEventView Methods
and Properties

Description

ShowLoggedEvents

displays the logged events

ShowActiveEvents

displays the active events

ConfirmEvent

confirms one event

ResetEvent

resets one event

LangId

sets and returns the language that's used for displaying event message and the source name

DisableMenuItems

returns or sets the disable state of context menu

SelectEvent

marks one event as selected

AddConnection

adds a remote connection to another EventLogger.

DeleteConnection

deletes a remote connection to another EventLogger.

DisplayComputerName

enables or disables the column that displays the computer name or returns the state.

DisplayEventId

enables or disables the column that displays the event id or returns the state.

AlarmTextColor

sets or returns the color that is used to display alarms

WarningTextColor

sets or returns the color that is used to display warnings

InstructionTextColor

sets or returns the color that is used to display introductions

ParamErrorTextColor

sets or returns the color that is used to display parameter errors

StateInfoTextColor

sets or returns the color that is used to display state information's

HintTextColor

sets or returns the color that is used to display hints

MessageTextColor

sets or returns the color that is used to display messages

MaintenanceTextColor

sets or returns the color that is used to display maintenance information's

UndefTextColor

sets or returns the color that is used to display undefined events

ColWidthClass

sets or returns the width of the columns event class

ColWidthMustCon

sets or returns the width of the column confirmation state

ColWidthState

sets or returns the width of the columns event state

ColWidthSource

sets or returns the width of the columns event source

ColWidthDate

sets or returns the width of the columns event date

ColWidthTime

sets or returns the width of the columns event time

ColWidthEventId

sets or returns the width of the columns event id

ColWidthComputer

sets or returns the width of the column computer name

ColWidthMsg

sets or returns the width of the columns event message

DisplayClass

enables or disables the column that displays the event class or returns the state.

DisplayMustCon

enables or disables the column that displays the confirmation state or returns the state.

DisplayState

enables or disables the column that displays the event state or returns the state.

DisplaySource

enables or disables the column that displays the source name or returns the state.

DisplayDate

enables or disables the column that displays the event date or returns the state.

DisplayTime

enables or disables the column that displays the event time or returns the state.

DisplayMsg

enables or disables the column that displays the event message or returns the state.

GetSelectedEvent

returns index of the event that is selected by the user

Mode

sets or returns the display mode of the TcEventViewer

MaxEvents

sets or returns the maximum number of displayed events.

DisplayTitlebar

Enables or disables the column header.

DisplayUserComment

Enables or disables the column that displays the userComment or returns the state.

DisableContextMenu

Enables or disables the ContextMenu.

DisableScrollbars

Enables or disables the Scrollbars.

SortMode

Gets or sets the sort order and mode.

putFont

Sets the font for the control.

getExtendedInfo

Gets extended information about an event.

UseExternalLanguageResource

Gets or sets whether an external language resource is used.

BackgroundColor

Gets or sets the background color for the control.

ModifyLVStyle

Delegate calls to the CWindow::ModifyStyle method.

SetFilter

Method to set up a display filter