need for control invoke

  • Thread starter Thread starter Stelrad Doulton
  • Start date Start date
S

Stelrad Doulton

Hi,

I am well aware of the need to invoke gui stuff from threads other than the
GUI thread but reading some other post tonight the thread seemed to suggest
that this was not neccessary for MessageBox.Show. Is this the case? I have
always done the invoking for MessageBoxes, maybe this was wrong of me. If so
why?


Cheers
 
Technically you can show a messagebox from a non UI thread. However you
should be aware of what effect this will have on your application since your
thread will block until the messagebox is dismissed.

Peter
 
Back
Top