Jump to content

_GUICtrlListViewSort by Ascending


JohnBailey
 Share

Recommended Posts

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
Link to comment
Share on other sites

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?

_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.

 

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...