Recent

Author Topic: TTreeView / TTVHitTestInfo  (Read 1064 times)

MISV

  • Hero Member
  • *****
  • Posts: 633
TTreeView / TTVHitTestInfo
« on: August 21, 2018, 12:45:43 pm »
For some small places dealing with program configuration, I am using a TTreeView descendant in some of my project. However, my code for checking if a stateimage (used to simulate check boxes) has been clicked (WMLButtonDown/Up) does not work on anyhing but Windows since it uses Treeview_HitTest / TTVHitTestInfo

Any ideas for solving this on Mac/Cocoa platform?

Searching Google I found CarbonHitTest ... inside a Cocoa unit :)
« Last Edit: August 21, 2018, 01:41:57 pm by MISV »

MISV

  • Hero Member
  • *****
  • Posts: 633
Re: TTreeView / TTVHitTestInfo
« Reply #1 on: August 22, 2018, 02:24:19 pm »
Nevermind - there is a GetHitTestInfoAt (next to GetNodeAt)