Re: sorting after a rename of a listviewitem in a listview control



Another way would be to start a timer in the AfterLableEdit handler and call
the Sort method when the timer is fired.

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
---------


<Michael.A.Kelley@xxxxxxxxx> wrote in message
news:1179945167.486938.244930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
What's the best way to sort items in a listview after a rename of a
listviewitem? Calling Sort() in the handler for the
ListView.AfterLabelEdit event doesn't work (as the documentation
points out), and there's no event as far as I can tell that I can
register to that would allow me to sort after a rename.



.



Relevant Pages

  • Re: "exchange text messages"
    ... Kevin S. Wilson wrote: ... You were saying something about electronic mail! ... post on the personal level when there is nothing funny in what you say ...
    (sci.physics.relativity)
  • Re: sort + head = weirdness?
    ... >'sort'and then through 'head' and I'm getting really strange results. ... >works fine with 'sort' itself. ... buffer, so there's no attempt to write anything after "head" has exited. ... Check the documentation of the shell (you didn't say what shell you're ...
    (comp.unix.shell)
  • Re: Archers Moonlighting
    ...    I'm assuming it does some sort of timing ... but that's morefor people out at work all day, ... Like a timer ...
    (uk.media.radio.archers)
  • Re: why am I getting this error "varible temp1 might not have been initialized"
    ... (A Douglas Adams reference). ... If you want it to give up after X seconds, you need some sort of ... timer. ... Canadian Mind Products, Roedy Green. ...
    (comp.lang.java.help)
  • Re: hc11 program help
    ... >saw reference to it for the first time in a Byte magazine article. ... one should say Shell sort. ... >bubble sort with similar technique applied, it's a comb sort. ...
    (comp.arch.embedded)