thmsdrew has asked for the wisdom of the Perl Monks concerning the following question:

Is there a way to find the coordinates of an individual item in a SysListView32 with GuiTest? My goal is to right-click on certain list items. I have the ID of the list itself. I can send the mouse to a position relative to the entire list. I want to be more precise and send the mouse to a position relative to each individual list item.

Is this a thing?

  • Comment on Win32::GuiTest SysListView32 list item coordinates?

Replies are listed 'Best First'.
Re: Win32::GuiTest SysListView32 list item coordinates?
by Anonymous Monk on Nov 13, 2012 at 08:32 UTC

    Sure there is, everything is a window, so GetWindowInfo/GetWindowRect/GetClientRect, whatever you need -- worst case scenario, you have to wrap an easier function yourself , although its easier to use you use Win32::GUI::ListView::HitTest/Select

Re: Win32::GuiTest SysListView32 list item coordinates?
by pradeep,krishna (Scribe) on Mar 03, 2014 at 09:55 UTC

    Hi friend.

    If you have got the answer for performing the functionality you have posted here, please share as a comment. I am also trying to do the same functionality.