ITcEventViewLight

The interface ITcEventViewLight is used to control the apperance of the light version 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.

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 column event state

ColWidthSource

sets or returns the width of the column event source

ColWidthDate

sets or returns the width of the column event date

ColWidthTime

sets or returns the width of the column 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 column 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.

DisableContextMenu

Enables or disables the ContextMenu.

DisableScrollbars

Enables or disables the Scrollbars.