Jump to content

Recommended Posts

Posted

$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)
    Next
EndIf

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() {
	 DrinkWine();
}
AutoIt Programmer

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
×
×
  • Create New...