Hello,
I'm trying to determine whether all items in a Listview are checked or not.
This is what i came up with, but its a bit "ugly" code i think.
global $oquery =_GUICtrlListView_GetItemCount($LVSRC) - 1
For $x = 0 to $oquery
If _GUICtrlListView_GetItemChecked($LVSRC, $x)= True Then
$checkedSRC += 1
EndIf
Next
if $checkedSRC = $oquery then $Checkedall = true
Is there no other way to determine if all items are checked or not?