Jump to content
Sign in to follow this  

ListView hot item problem

Recommended Posts


I am running beta on vista, I have a few items in my list view.

my problem is the _GUICtrlListView_GetHotItem function, but I keep getting the wrong index value.

sometimes i get -1 and sometimes I get a higher index than the number of values in the listview

$hot = _GUICtrlListView_GetHotItem($points)


$pointid = _GUICtrlListView_GetItemText($points, $hot, 0)

$pointea = _GUICtrlListView_GetItemText($points, $hot, 1)

$pointno = _GUICtrlListView_GetItemText($points, $hot, 2)

$pointze = _GUICtrlListView_GetItemText($points, $hot, 3)

$pointgr = _GUICtrlListView_GetItemText($points, $hot, 4)

$pointnt = _GUICtrlListView_GetItemText($points, $hot, 5)

Share this post

Link to post
Share on other sites

hmmm, you guys usually post the answer before I finish the question, am I the only one with this problem?

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.