Click or drag to resize

TreeViewMouseEvent Class

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

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

The TreeViewMouseEvent type exposes the following members.

Constructors
  NameDescription
Public methodTreeViewMouseEvent
Construct a TreeViewMouseEvent 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 propertyPointAboveClientArea
A logical value that is TRUE if the click occurred above the tree view control's client area.
Public propertyPointBelowClientArea
A logical value that is TRUE if the click occurred below the tree view control's client area.
Public propertyPointLeftOfClientArea
A logical value that is TRUE if the click occurred to the left of the tree view control's client area.
Public propertyPointNowhere
A logical value that is TRUE if the click occurred inside the tree view control but not on an item.
Public propertyPointOnItem
A logical value that is TRUE if the click occurred on a tree view item in the tree view control.
Public propertyPointOnItemButton
A logical value that is TRUE if the click occurred on a tree view item's button in the tree view control.
Public propertyPointOnItemImage
A logical value that is TRUE if the click occurred on a tree view item's image in the tree view control.
Public propertyPointOnItemIndent
A logical value that is TRUE if the click occurred on a tree view item's indented area in the tree view control.
Public propertyPointOnItemLabel
A logical value that is TRUE if the click occurred on a tree view item's label in the tree view control.
Public propertyPointOnItemRight
A logical value that is TRUE if the click occurred to the right of a tree view item in the tree view control.
Public propertyPointOnItemStateImage
A logical value that is TRUE if the click occurred on a tree view item's state image in the tree view control.
Public propertyPointRightOfClientArea
A logical value that is TRUE if the click occurred to the right of the tree view control's client area.
Public propertyPosition
A Point object that describes the position where the click occurred in tree view control coordinates.
Public propertyTreeViewItem
The TreeViewItem object which was clicked, if the mouse click occurred on an item; otherwise, a null object.
Top
Remarks
This event occurs when a mouse click or double-click occurs within the tree 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