Task Manager Sort

How to read which column is clicked in order to sort?

Page 1 of 1

0 Replies - 636 Views - Last Post: 16 April 2010 - 01:33 PM Rate Topic: -----

#1 higgsch  Icon User is offline

  • D.I.C Head

Reputation: 13
  • View blog
  • Posts: 119
  • Joined: 26-October 09

Task Manager Sort

Posted 16 April 2010 - 01:33 PM

I am editing a Task Manager program's code (that I found on the internet, and checked for copyright, besides I am just toying with it, no distribution). It has a ListView object on the form to show the processes, the ListView object has four ColumnHeaders loaded into it's .columns properties on load. I would like to have it sort when one of the ColumnHeaders are clicked, but since the ListView has loaded them, it won't read them as their own click. It also won't be able to read the CH's tag if I put one in, because it is loaded. The CHs dont have their own click event, and I just need to know how to read which CH it was called from.

Is This A Good Question/Topic? 1
  • +

Page 1 of 1