G
Guest
Hi to everybody,
I have the following situation:
I have a lengthy operation inside a desktop application - something that has
to be executed on the main thread of the app (this is a must)
....
server.callLennghtyOperation(...)
....
While this operation is executing, I'd like to show a Form (practically a
modal form, that permits no access to the other forms of the application),
just to inform the user about the fact that the operation is being procesed.
Please can you give some ideeas how to do this.
I was thinkin on starting a thread just before the operation, that outputs a
form (well, still got the problem that it has to behave as a modal
window!!!), and after the operation completes signaling the thread that the
it can stop.
I am v much thinking in plain win api terms, being still new to .net.
Thanks in advance,
Andrea
I have the following situation:
I have a lengthy operation inside a desktop application - something that has
to be executed on the main thread of the app (this is a must)
....
server.callLennghtyOperation(...)
....
While this operation is executing, I'd like to show a Form (practically a
modal form, that permits no access to the other forms of the application),
just to inform the user about the fact that the operation is being procesed.
Please can you give some ideeas how to do this.
I was thinkin on starting a thread just before the operation, that outputs a
form (well, still got the problem that it has to behave as a modal
window!!!), and after the operation completes signaling the thread that the
it can stop.
I am v much thinking in plain win api terms, being still new to .net.
Thanks in advance,
Andrea