G
Guest
I'm trying to show a message box from a thread I'm running. Every time it
executes, it takes me back to the main main screen without showing up. Here
is what I'm doing:
Starting a main window
Starting a 2nd window (2ndwindow.show) that in turn starts a background
thread when a button on it is pressed.
I'm calling a routine in the 2nd Window from the background thread using a
delegate. This works fine if I just have this routine update a textbox in
the 2nd Window but if I try to have it show a message box, I fail. It looks
like the message box quickly pops up and then I go back to my main screen.
Any ideas of how to handle this?
executes, it takes me back to the main main screen without showing up. Here
is what I'm doing:
Starting a main window
Starting a 2nd window (2ndwindow.show) that in turn starts a background
thread when a button on it is pressed.
I'm calling a routine in the 2nd Window from the background thread using a
delegate. This works fine if I just have this routine update a textbox in
the 2nd Window but if I try to have it show a message box, I fail. It looks
like the message box quickly pops up and then I go back to my main screen.
Any ideas of how to handle this?