Jump to content
Sign in to follow this  


Recommended Posts



I'm trying to retrieve the text of whatever item I click on in my listview. I tried looking at a

few examples and came up with this:

        $pos = GUIGetCursorInfo()
    If ($pos[4] == $nListview) Then; $nListview is my listview
        $msgbox = _GUICtrlListViewGetItemText($nListview, $pos[4], 1); Column 2
        MsgBox(0, "", $msgbox); Show the clicked item in MsgBox

Thanks in advance.


Solved - I used _GUICtrlListViewGetCurSel() then retrieved the text from there. :D

Edited by FireLordZi

While Alive() {
AutoIt Programmer

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.