Jump to content
Sign in to follow this  

Retrieving a ListViewItem position in a SysListView

Recommended Posts

How can i retrieve the x and y coordinates of a ListViewItem in a System list view (or any way to retrieve it's controlID ? ... i'm a bit lost)

I succeed in getting the Item Index is the system ListView (using the Listview ClassNameNN or ControlID) but how can i do that at the Item's level ?

Thanks for ur help !

Share this post

Link to post
Share on other sites

when i select an item using "Find Item" like in the following code :

$c=ControlListView("Connexions réseau", "", "SysListView321", "FindItem", "Connexion au réseau local")
MsgBox(4096,"Essai réseau...","retour : " & $c,4)
ControlListView("Connexions réseau", "", "SysListView321", "Select",$c)

My item seems to be correctly selected ... but when i try to retrieve the controlID of the selected Item, the following code :

MsgBox(4096,"Essai réseau...","ItemID : " & $ItemID,4)

Returns 0 ... as if nothing was selected (????) ...

Can anybody tell me why it behaves this way ?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...