Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1003464]
Approved by marto
[karlgoethebier]: no typo
[marioroy]: At the Fransiscan monastery, got stuck up high in a tree from pruning and the chainsaw with large branch fell and broke the latter, but not me fortunately. Was stuck there for a while until a firetruck came by.
[Corion]: marioroy: So you live dangerously ...
[Lady_Aleena]: s/latter/ladder/; # ? marioroy
[karlgoethebier]: marioroy: Praise the Lord
[marioroy]: Well, that's why there must be angels around, invisible or not.
[marioroy]: Lady_Aleena yes, ladder.
[marioroy]: Corion, no not intentionally. not at all.
[Lady_Aleena]: /ne tries to decide whther or not to take a hammer to hubby's alarm clock.
[Lady_Aleena]: He never hears it.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (11)
As of 2017-05-29 08:38 GMT
Find Nodes?
    Voting Booth?