civilcalc Posted May 1, 2008 Posted May 1, 2008 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 CODE $hot = _GUICtrlListView_GetHotItem($points) MsgBox(0,"",$hot) $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)
civilcalc Posted May 1, 2008 Author Posted May 1, 2008 hmmm, you guys usually post the answer before I finish the question, am I the only one with this problem?
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