Jump to content

SysListView32 Multiple Columns & GetText


sejje
 Share

Recommended Posts

I'm trying to pull data from a listview control with multiple columns. I'm having a really difficult time pulling up any documentation about this function, so I'm resorting to bothering you all.

The data looks like this

1 Username1 blah

2 Username2 blah

I can pull "1" or "2", but I cannot find how to get the username (or blah) part of the data. I really am only concerned with the usernames.

If it matters, my code looks like this:

$listhandle = ControlGetHandle ("[CLASS:blech]", "", "[CLASS:SysListView32;INSTANCE:1]")
$i = _GUICtrlListView_GetItemText($listhandle, 1, 1);
MsgBox (4160, "Information", "Username: " & $i & " Target Handle: " & $listhandle)

Is there another parameter for the GetItemText? Or is it pulling the info into an array, maybe?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...