[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Handles mouse move messages for the control.
Source position: comctrls.pp line 3622
protected procedure TCustomTreeView.MouseMove( |
Shift: TShiftState; |
X: Integer; |
Y: Integer |
); override; |
Shift |
|
Shift, Ctrl, or Alt modifier for the mouse message. |
X |
|
Horizontal coordinate for the mouse pointer. |
Y |
|
Vertical coordinate for the mouse pointer. |
MouseMove is an overridden method in TCustomTreeView used to handle mouse move messages for the control. It calls the inherited method on entry to notify the drag manager when the control is dragged, and signals the OnMouseMove event handler (when assigned).
MouseMove ensures that an automatic insertion mark is generated when needed. It updates the tool tip (or Hint) location. It also updates the hot tracking position when needed. When MultiSelect is enabled, a new tracking position causes the entire control to be redrawn. If MultiSelect is not enabled, only the display rectangles for the previous and the current hot-tracked tree nodes are redrawn.
Modified in LCL version 4.0 to reduce calls to Invalidate to avoid flicker.
|
The set of options enabled in the tree view control. |
|
|
Enables or disables highlight / underline drawing styles on a tree item when the mouse is hovered over it. |
|
|
Enables or disables selection of multiple tree nodes at the same time. |
|
|
Indicates whether tool tips (hints) are enabled for nodes on the tree view control. |
|
|
Causes the control to be redrawn when a redraw is not already in progress. |
|
|
TTreeViewOption - enumerated type containing the permissible values for Options in TreeViews. |
|
|
Handler for MouseMove events. |
Version 4.0 | Generated 2025-05-03 | Home |