Not in this case. You can quite happily create a window on another
thread. You just musn't call any of its methods from any other thread;
multiple GUI threads are fine.

The problem with this particular case is that you are doing it on a
thread pool thread, and it is considered bad manners to do things like
kill those threads, or tie them up with a message pump or whatever. It
isn't verboten (i.e. exception causing), just rude.

M


-----Original Message-----
From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of
Jeff Roberts
Sent: 29 May 2002 14:48
To: [EMAIL PROTECTED]
Subject: Re: [DOTNET] Modeless WinForms Bug

Ian,

Thanks, I'll try it.  Shouldn't the Show() throw an exception ?

jeff

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to