Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Win32::GuiTest SysListView32 list item coordinates?

by thmsdrew (Scribe)
on Nov 12, 2012 at 15:32 UTC ( #1003464=perlquestion: print w/ replies, xml ) Need Help??
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1003464]
Approved by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (14)
As of 2015-07-31 18:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls