Ooops! :)
OK, thanks.

On Fri, Sep 28, 2012 at 8:47 PM, Mark Miesfeld <> wrote:
On Fri, Sep 28, 2012 at 11:39 AM, Staffan Tylen <> wrote:
Excellent, works like a charm. Many thanks.

(The doc says that a .Point object can be used as input to hitTestInfo, this is not the whole truth then I guess.)

No, the doc is correct

clientPos = pos~copy

d = treeView~hitTestInfo(clientPos)

In the above, clientPos is a .Point object.

The original point, pos, is relative to the screen.  The doc says: a point relative to the tree-view control.  So, you need to convert the point relative to the screen to a point relative to the tree-view.  Which is what screen2client() does.

Mark Miesfeld

Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.;262219671;13503038;y?
Oorexx-users mailing list