Click or drag to resize

ListViewMouseEvent Properties

X#

The ListViewMouseEvent type exposes the following members.

Properties
  NameDescription
Public propertyButtonID
A constant representing which mouse button was clicked. The value can be either BUTTONLEFT or BUTTONRIGHT.
Public propertyControl
The Control object that generated this event.
(Inherited from ControlNotifyEvent.)
Public propertyControlID
A number between 1 and 8000 representing the unique ID of the control that generated this control event.
(Inherited from ControlEvent.)
Public propertyDescription
A string representing the description of the control that generated this control event.
(Inherited from ControlEvent.)
Public propertyHandle
The pointer to the window where the event occurred
(Inherited from Event.)
Public propertyHelpContext
A string representing the help context ID of the control that generated this control event.
(Inherited from ControlEvent.)
Public propertyHyperLabel
The hyperlabel connected to the control event.
(Inherited from ControlEvent.)
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 propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyName
A string representing the name of the control that generated the event.
(Inherited from ControlEvent.)
Public propertyNameSym
A symbol representing the name of the control that generated the event.
(Inherited from ControlEvent.)
Public propertyNotifyCode
The notification code for this event as defined by the Windows API.
(Inherited from ControlNotifyEvent.)
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.
Public propertyWindow
An object indicating the window or control in which the event occurred. This is helpful, for example, for distinguishing between similar menu events coming from the same context menu attached to different controls.
(Inherited from Event.)
Top
See Also