RE: Re: Proposal: Adding a class to automatically manage the wait cursor and OK button enabled status
From: Friedrich Brunzema <brunzefb_at_yahoo.com>
Date: Sat, 1 Jun 2013 12:25:48 -0700 (PDT)
> I like your suggestion. Will do as you suggest and keep the class just for the Wait cursor - even though then it really does not do much. Still its nice not to have to worry about undoing an action at every function exit.
OK, I have reverted the changes and replaced all instances of DoWaitCursor() with a CLogWndHourglass local variable (see the attached patch).
I have not really seriously tested it, but something already feels wrong about it. I'm not really sure what the hourglass desired behavior is during a long operation that does a spawn process. Have a look - I'm OK if we don't make the changes and let the reverted code stand as is. If we don't end up using the CLowWndHourglass class, I should remove it.
Friedrich
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.