
GetTreeViewNodeRect – The bounding rectangle of a TreeView’s node
Option ExplicitPrivate Declare Function SendMessage Lib “user32” Alias “SendMessageA” (ByVal _ hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, _ lParam As Any) As LongType RECT Left As Long Top As Long Right As Long Bottom As LongEnd TypePrivate Const TV_FIRST = &H1100Private Const TVM_GETITEMRECT = (TV_FIRST