Help Center

CTreeView.SetToolTipsmethod

Sets a treeview control's child Tooltip control.

WindowsmethodCTreeView.incdocumented

Syntax

FUNCTION SetToolTips (BYVAL hTreeView AS HWND, BYVAL hwndTT AS HWND) AS HWND

Parameters

NameDescription
hTreeViewThe handle of the TreeView control.
hwndTTHandle to a tooltip control.

Return value

Returns the handle to tooltip control previously set for the tree-view control, or NULL if tooltips were not previously used.

Description

Sets a tree-view control's child tooltip control.

Remarks

When created, tree-view controls automatically create a child tooltip control. To prevent a tree-view control from using tooltips, create the control with the TVS_NOTOOLTIPS style.

Reference

  • Include file CTreeView.inc
  • Defined in AfxNova/CTreeView.inc:1209
  • Documented in Windows/WIndows Controls/CTreeView Class.md
  • Topic: CTreeView Class