Hi
I have a busy dialog (i.e. a form with a progress bar with the
description
of what is happening in the moment) but when I have a counter on it to
show
how many events have been processed until now and I click and hold the
mouse
on title bar of the form the counter stops until I release it or move
the
mouse....
I've tryed something like OnMouseDown -> return... but it still has no
effect...
What can I do to prevent this to happen!!!
Best Regards
Gabriele G. Ponti - 26 Jul 2006 12:57 GMT
Use the BackgroundWorker for your "busy calculations", and update the
counter via the Invoke method.
http://www.codeproject.com/csharp/AsynchInvoke.asp
> Hi
>
[quoted text clipped - 14 lines]
>
> Best Regards
Brian Tkatch - 26 Jul 2006 13:01 GMT
> Hi
>
[quoted text clipped - 14 lines]
>
> Best Regards
Not sure, but perhaps in the mouse down event you can add
Application.DoEvents?
B.