kra55 Posted April 30, 2009 Posted April 30, 2009 If I put _GUICtrlListView_GetSelectedIndices($hListView) into a msg box it returns the selected row but for some reason the GetItemText is not working can somone pleae tell me where I am going wrong been trying to figure it out for an hour then decided would be best to take a lunch break and ask everyone Im guessing im missing somthing silly and am thanking you in advance _GUICtrlListView_GetItemText($hListView, _GUICtrlListView_GetSelectedIndices($hListView), 1)
Authenticity Posted April 30, 2009 Posted April 30, 2009 Maybe it's an owner-drawn one or the sub-item index is not correct, try 0 instead.
GaryFrost Posted April 30, 2009 Posted April 30, 2009 Try reading the documentation on the return value/types: _GUICtrlListView_GetItemText($hListView, Int(_GUICtrlListView_GetSelectedIndices($hListView)), 1) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
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