Re: [perl-win32-gui-users] sorting a listview

2002-06-27 Thread markd
thanx for all the replies. i think i'll just stick with what i'm using at the moment and see if i can figure out where its going wrong. on a different note, is it possible to put a copyright symbol in the window title? AND i was just going through the samples and i noticed in pmx.pl that the menu

RE: [perl-win32-gui-users] sorting a listview

2002-06-27 Thread Frazier, Joe Jr
Here is what I use. I have "global" vars called $dir and $sortCol. $dir contains the current direction (asc or desc), while $sortCol contains the last sorted column. Using both, I then either reverse the sort is the column is the same as the current sorted column, or apply a asc sort if it is

Re: [perl-win32-gui-users] sorting a listview

2002-06-27 Thread Mark Di Nicola
[EMAIL PROTECTED] wrote: Mark, Haven't had time to examine your code to closely but it looks as though you're sorting everything as strings. I assume the quantity should be a number? I've used something like the code below to try to deal with this. I can send you a working example if you need

Re: [perl-win32-gui-users] sorting a listview

2002-06-27 Thread Kevin . ADM-Gibbs
Mark, Haven't had time to examine your code to closely but it looks as though you're sorting everything as strings. I assume the quantity should be a number? I've used something like the code below to try to deal with this. I can send you a working example if you need it and this is your proble