JohnBailey Posted February 26, 2007 Posted February 26, 2007 Question: How do I use _GUICtrlListViewSort and sort by ascending values? Research: I looked through the manual and I'm confused. I tried several different things with _GUICtrlListViewSort and "no dice." I searched the forums, but I can't seem to find info. Situation: I have a listview with four columns. I want to ascend sort by the second column. Thank you A decision is a powerful thing
GaryFrost Posted February 26, 2007 Posted February 26, 2007 JohnBailey said: Question: How do I use _GUICtrlListViewSort and sort by ascending values? Research: I looked through the manual and I'm confused. I tried several different things with _GUICtrlListViewSort and "no dice." I searched the forums, but I can't seem to find info. Situation: I have a listview with four columns. I want to ascend sort by the second column. Thank you Have you lookd in the help? Quote _GUICtrlListViewSort ( $h_listview, ByRef $v_descending, $i_sortcol ) i.e. $sort = 0 _GUICtrlListViewSort ( $h_listview, $sort , 1) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
JohnBailey Posted February 26, 2007 Author Posted February 26, 2007 GRRR ::mad at self:: Yeah I did so many different versions of that, but I was sorting the wrong column! Thank you. "I am moron" A decision is a powerful thing
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