Click or drag to resize

ListViewMouseEvent Class

X#
Provide information about a list view mouse event, which is generated when a mouse button in a list view control is clicked or double-clicked.
Inheritance Hierarchy
Object
  Event
    ControlEvent
      ControlNotifyEvent
        ListViewMouseEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.24 GA
Syntax
 CLASS ListViewMouseEvent INHERIT ControlNotifyEvent
Request Example View Source

The ListViewMouseEvent type exposes the following members.

Constructors
  NameDescription
Public methodListViewMouseEvent
Construct a ListViewMouseEvent object.
Top
Properties
  NameDescription
Public propertyButtonID
A constant representing which mouse button was clicked. The value can be either BUTTONLEFT or BUTTONRIGHT.
Public propertyIsLeftButton
A logical value that is TRUE if this is a left-button event.
Public propertyIsRightButton
A logical value that is TRUE if this is a right-button event.
Public propertyListViewItem
The ListViewItem object which was clicked, if the mouse click occurred on an item; otherwise, a null object.
Public propertyPointAboveClientArea
A logical value that is TRUE if the click occurred above the list view control's client area.
Public propertyPointBelowClientArea
A logical value that is TRUE if the click occurred below the list view control's client area.
Public propertyPointLeftOfClientArea
A logical value that is TRUE if the click occurred to the left of the list view control's client area.
Public propertyPointNowhere
A logical value that is TRUE if the click occurred inside the list view control but not on an item.
Public propertyPointOnItem
A logical value that is TRUE if the click occurred on a list view item in the list view control.
Public propertyPointOnItemImage
A logical value that is TRUE if the click occurred on a list view item's image in the list view control.
Public propertyPointOnItemLabel
A logical value that is TRUE if the click occurred on a list view item's label in the list view control.
Public propertyPointOnItemStateImage
A logical value that is TRUE if the click occurred on a list view item's state image in the list view control.
Public propertyPointRightOfClientArea
A logical value that is TRUE if the click occurred to the right of the list view control's client area.
Public propertyPosition
A Point object that describes the position where the click occurred in list view control coordinates.
Top
Remarks
This event occurs when a mouse click or double-click occurs within the list view control. Properties of the event determine not only the position where the event occurred physically but also the event's relationship to items in the control.
See Also

Reference