Re: Listview column sorting
- Posted by "Derek Parnell" <ddparnell at bigpond.com> Feb 10, 2004
- 495 views
----- Original Message ----- From: "Andy Drummond" <andy at kestreltele.com> To: <EUforum at topica.com> Subject: Listview column sorting > > > Does anyone know how I can tell Windows(tm) to use my own comparison > function when sorting listview columns rather than its own kinda > alphabetic/numeric one? I have some values like durations in minutes & > seconds which sort stupidly as it is. With my own comparison function it > would be OK (eventually, probably). > If you are using win32lib, you can call setLVAttr() to link in your own sorting routine. Read the docs for details and see "ListTreeView.exw" in the demo folder for an example. -- Derek