How to show a form in another thread

  • Thread starter Thread starter Robert Dufour
  • Start date Start date
R

Robert Dufour

I have an app with code that continuously executes on a form in a timer
control. I also need to show another form without interrupting the code
executing in this timer. I suspect that to do that I will need to launch the
other form in its own thread.

Any sample code on how to do this?

Thanks for any help,
Bob
 
I have an app with code that continuously executes on a form in a
timer control. I also need to show another form without interrupting
the code executing in this timer. I suspect that to do that I will
need to launch the other form in its own thread.

I you call "show form" rather than showdialog, your thread will not be held
up.
 
If you do show a form from another thread, then won't that thread become
another UI thread and all messages to the form will have to be handled in
that thread? Just trying to understand the process.
 
Back
Top