Sign in to follow this  
Followers 0
MarkMontemuro

_GUICtrlListView_GetItemTextArray under Win7(64Bit)

1 post in this topic

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

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  
Followers 0