@@ -31499,11 +31498,32 @@ GetInsertMarkAt, and GetHitTestInfoAt methods.
-Used to implement the EnsureNodeIsVisible method.
+Calls GetNodeAtY to determine if the mouse pointer is positioned over a tree
+node on the control. The return value contains the TTreeNode instance at the
+specified coordinates on the tree view control.
+
+The return value can contain Nil when:
+
+Used in MouseDown to get the tree node under the mouse pointer.
+Calculated using the ClientHeight and BorderWidth for the control.
+Used in the implementation of the EnsureNodeIsVisible method.
+
+Calculated using the ClientWidth and BorderWidth for the control.
+
+IsNodeHeightFullVisible is a Boolean method which
+indicates whether the tree node in ANode is fully visible vertically on the
+tree view control.
+
+The return value is True if the Top and Height properties for the tree
+node occur within the usable display area on the control.
+
+The return value is False when:
+
+IsNodeHeightFullVisible is used in the implementation of the
+IsNodeHeightFullVisible method in TTreeNode.
+
+What is an "insertion mark"?
+
+An insertion mark is the visual indicator that identifies where a node added
+or moved on the control will be placed. It is like a horizontal editing caret.
+It is used during a node drag operation to show where the tree node will be
+placed in the node hierarchy.
+
+IsInsertMarkVisible checks internal members in the tree view to determine
+whether a node and an insert mark type (TTreeViewInsertMarkType) have been
+assigned for the control. The return value is True when both members have been
+assigned and the mark node is visible on the control. When an insertion mark
+becomes visible for a node, the tree view control is redrawn.
+
+DoMouseWheel is an overridden method in TCustomTreeView.
+It calls the inherited method on entry to signal OnMouseWheel handlers (when
+assigned). If the event is not handled in the ancestor class, the value in
+WheelDelta is used to scroll the visible tree nodes by the corresponding
+number of nodes for the default item height.
+
+Scroll bar positions are updated to reflect the new origin for the tree view
+control. The tool tip for the current mouse pointer position is also updated
+prior to exit.
+
+
+
+
+
+If the message is not handled in the ancestor, the value in ScrolledLeft is updated to apply the delta value in -WheelDelta. The position for a tool tip (or hint) is also updated +WheelDelta. The position for a tool tip (or hint) is also updated using the coordinates in Mouse.
DoPaint is a method used render the control to its canvas. It
@@ -32259,7 +32387,7 @@ Tree node examined in the method (and possibly updated in the event handler).
@@ -32687,8 +32815,10 @@ set to Nil when the component is removed from the class instance.
-Calls DoPaint to render the tree nodes, scroll bars, and decorations for the
-control.
+Paint is an overridden method in TCustomTreeView. It
+calls the DoPaint method to update
+the control state, default item height, borders, and scroll bars before
+painting the nodes on the control.
-This property is provided for the situation where a tree view contains a huge
-number of items, lets say 10,000+. In this case accessibility might slow the
-tree down, so turning this property off might make things faster.
+AccessibilityOn is provided for the situation where a tree view contains a
+huge number of items, lets say 10,000+. In this case, accessibility might
+affect the responsiveness and drawing performance for the tree view control.
+Setting AccessibilityOn to False will likely make things faster.
+OnCustomDraw is a TTVCustomDrawEvent property with the
+event handler signalled to perform custom drawing for the tree view control.
+It is signalled (when assigned) from the CustomDraw method, and is used to
+perform custom drawing for the control in the cdPrePaint drawing stage. It
+occurs during execution of the Paint method.
+
+An application can implement OnCustomDraw to perform custom drawing for the
+overall control including borders and decorations not related to nodes on the
+tree view control.
+
+Arguments to the event handler include:
+
+The handler routine should use the Canvas for the control to perform drawing
+operations on the specified bounds rectangle.
+
+Use OnAdvancedCustomDraw to perform additional draw operations needed before
+the tree nodes on the control is painted.
+
+Use OnCustomDrawItem and OnAdvancedCustomDrawItem to perform custom drawing
+for tree nodes on the control. Use OnCustomDrawArrow to perform custom drawing
+for expand/collapse indicators for tree nodes on the control.
+
+OnCustomDrawItem is a TTVCustomDrawItemEvent property
+with the event handler signalled to custom-draw the tree nodes displayed on
+the tree view control. OnCustomDrawItem is signalled from the CustomDrawItem
+method, and occurs during processing performed in the PaintNode method for the
+control.
+
+Arguments to the event handler include:
+
+If either OnCustomDrawItem or OnAdvancedCustomDrawItem are assigned, the
+IsCustomDrawn method returns True.
+
+OnCustomDrawArrow is a TTVCustomDrawArrowEvent property
+with the event handler signalled to custom-draw the expand/collapse (fold)
+indicator for a node on the tree view control.
+
+Arguments to the event handler include:
+
+Use the Canvas for the control to perform drawing operations in the handler
+routine.
+
+OnCustomDrawArrow is signalled (when assigned) from the DoPaintNode method. If
+OnCustomDrawArrow has not been assigned, the default drawing routines in the
+class are used to paint the indicator using the style in the ExpansSignType,
+ExpansSignSize, ExpansSignWidth, and ExpansSignColor properties.
+
@@ -33784,11 +34061,41 @@ ParentNode.CustomSort(nil) to sort only the child nodes of a single node.
+ToolTips is a Boolean property which indicates whether
+tool tips (pop-up hints) are enabled for nodes on the tree view control. A
+tool tip is activated when the mouse pointer is hovered over a node. The text
+displayed on the tool tip is set to the Text property in the TTreeNode
+instance.
+
+ToolTips is a convenience property; it indicates whether tvoToolTips has been
+included in the Options for the control. The default value for the property is
+True. Changing the property value causes Options to be updated to include or
+exclude tvoToolTips in the set type.
+
+ToolTips is used (indirectly) in methods which respond to mouse or mouse wheel
+events like: DoMouseWheel, DoMouseWheelHorz, and MouseMove.
+
+ToolTips is temporarily disabled when a drag operation is started for a node
+on the tree view control.
+
+
+
+
+
+
+