Re: Threading Question...
Quote:
Originally Posted by Hinder
When you click a button or menu option on your main application, does it run on the same MAIN application UI thread? Or does it spawn a new thread?
Or does it invoke the call on the UI thread, and if so is it a blocked or unblocked invoked call?
Hinder
it'd make sense that it'd run on the same MAIN thread
Re: Threading Question...
Everything you do unless explicitly coded to do otherwise runs in the Form's UI thread.
Which is why if you do a large loop and take the focus away from the form, look at something else and come back to it, it's just white until it finishes the loop and you can't click a stop button.