Fisher, John wrote:
> Stefan, I haven't taken time to look at the code at all, but this
> seems like a situation where you should separate the UI renaming code
> from the actual rename operation. In other words, once the user
> types in the name and presses enter or clicks somewhere else, post a
> message that will be processed after all the cleanup code is run.
> The current flow of code can finish the cleanup work and return the
> UI to a known state. Then, you process the message that has been
> waiting, and perform the actual rename work.
Nice idea, but no luck :(
I tried using PostMessage from the LVN_ENDLABELEDIT handler so that
showing the input dialog is postponed until the LVN_ENDLABELEDIT handler
has finished. But even with that change the behavior is the same.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-07-19 19:28:55 CEST