Click or drag to resize

TreeViewSelectionEvent Class

X#
Provide information about a tree view selection event, which is generated when the current selection in a tree view control has changed or is about to change.
Inheritance Hierarchy
Object
  Event
    ControlEvent
      ControlNotifyEvent
        TreeViewSelectionEvent

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS TreeViewSelectionEvent INHERIT ControlNotifyEvent
Request Example View Source

The TreeViewSelectionEvent type exposes the following members.

Constructors
  NameDescription
Public methodTreeViewSelectionEvent
Initializes a new instance of the TreeViewSelectionEvent class
Top
Properties
  NameDescription
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 propertyKeyBoardAction
A logical value indicating whether the selection change was caused by a key press.
Public propertyMessage
A dword representing the Windows API message associated with the given event.
(Inherited from Event.)
Public propertyMouseAction
A logical value indicating whether the selection change was caused by a mouse click.
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 propertyNewTreeViewItem
The TreeViewItem object that is selected as a result of this event.
Public propertyNotifyCode
The notification code for this event as defined by the Windows API.
(Inherited from ControlNotifyEvent.)
Public propertyOldTreeViewItem
The TreeViewItem object that was selected before this event occurred.
Public propertySelectionChanged
A logical value indicating whether the selection has changed.
Public propertySelectionChanging
A logical value indicating whether the selection is about to change.
Public propertyUnknownAction
A logical value indicating whether the selection change was caused by an unknown source.
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
Fields
  NameDescription
Public fieldhWnd (Inherited from Event.)
Public fieldlParam (Inherited from Event.)
Public fieldoWindow (Inherited from Event.)
Public fielduMsg (Inherited from Event.)
Public fieldwParam (Inherited from Event.)
Top
Remarks
The tree view control generates this event whenever the current selection changes or is about to change. Information packaged in the event includes what caused the selection to change, as well as which item gained selection focus and which item lost it.
See Also

Reference