MarkMontemuro Posted July 22, 2011 Share Posted July 22, 2011 Question is why _GUICtrlListView_GetItemTextArray returns null under Windows 7? This code works fine under XP. The GUICtrlListView_GetItemCount does work and returns the correct number of elements. _GUICtrlListView_GetItemText also returns NULL. Does anyone have any ideas to try? Sample Code: $rows1=_GUICtrlListView_GetItemCount($hListview1) - 1 $rows2=_GUICtrlListView_GetItemCount($hListview2) - 1 ConsoleWrite("CLV:"&$rows1&":::"&$rows2&@CRLF) For $i = 0 To $rows2 $aItem =_GUICtrlListView_GetItemTextArray($hListview1, $i) ConsoleWrite("Item1:"&$aItem&@CRLF) Sleep(100) $bItem =_GUICtrlListView_GetItemTextArray($hListview2, $i) Sleep(100) ConsoleWrite("Item2:"&$aItem&@CRLF) Next Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now