Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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?
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 exploiting the Monastery: (3)
As of 2014-09-21 14:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls