Sign in to follow this  
Followers 0
ajit

listview column header direction(up or down)

3 posts in this topic

Hi

I am trying to use controlclick on listview column header. Although I can use Controlclick($winhandle, "", "[CLASS:SysHeader32; INSTANCE:1]") I cannot know whether column is in ascending or descending order.

Is it possible to get that (direction of arrow from column header) information.

Please help me out.

Thanks in advance.

Ajit

Share this post


Link to post
Share on other sites



Can you get the first two items (by index) and compare them to find out the sort order?

In .net there's a .SortOrder property for listview...

Share this post


Link to post
Share on other sites

Can you get the first two items (by index) and compare them to find out the sort order?

In .net there's a .SortOrder property for listview...

@evilertoaster

Thanks for your help. One more question, how can I campare the values if they are not numbers; only alphabets.

Thanks again

Ajit

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  
Followers 0