Jump to content
Sign in to follow this  


Recommended Posts


$readsection = IniReadSection("C:\buddies.ini", "OnlineBuddies")
If IsArray($readsection) Then
    For $t = 1 To $readsection[0][0]
        MsgBox(0, "", $readsection[$t][0])
        $finditem = _GUICtrlListViewFindItem($nListview, $readsection[$t][0], -1, $LVFI_STRING, $VK_DOWN)
        MsgBox(0, "", $finditem)

I check the return value of $finditem in MsgBox and it is returning -1 that it didn't find the item in my listview and I know

it is there because I see it. What's the problem?

While Alive() {
AutoIt Programmer

Share this post

Link to post
Share on other sites

You sure it matches Letter for Letter?

That is Case sensitive search.

You might want to take the time and get the latest beta and check out the Several Findxxxx functions in ListView UDFs now.

SciTE for AutoItDirections for Submitting Standard UDFs


Don't argue with an idiot; people watching may not be able to tell the difference.


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