I currently have a windows form app that creates a new form and does an Application.Run(f) on that form.
I had a problem where I would create a second form and try to show it based on an incoming event from a .NET remoting object. The first form would lose its focus. I tried to get around this by creating the 2nd form in it's own ApplicationContext and thus giving it its own UI message pump. This seems to have done the trick, but then recently I noticed that it wasn't consistently working. Can anyone prescribe exactly how you could achieve this? Clearly it's possible since the mail notifications in Outlook do not take focus from any window you're working on. Btw I am using .NET 2.0. Thx. ____________________________________________________________________________________Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ =================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com