I believe you want to enumerate the values of all the rows and columns in the list control.
If this is true, please read the rest of my post.
1. Use
ListView_GetItemCount[
^] to get the number of rows in the control.
2. Use
ListView_GetHeader[
^] to get the header control of the list view.
3. Use
Header_GetItemCount[
^] to get the number of columns in the control.
4. Create a nested loop with the number of rows as the loop count for the upper loop and the number of columns as the loop count for the inner loop.
5. Use
ListView_GetItemText[
^] to get the text with the outer loop counter as
iItem
and the inner loop counter as
iSubItem
.