This is my first post here, so I wanted to say hi.
My question is this: I have a form that is used to display the progress of an image conversion. It is running in a thread that loads when a FileSystemWatcher event is fired for the creation of a particular file, and ends when a FileSystemWatcher event is fired for the deletion of that file.
I have no problem getting the form to show and display the data I need, the problem is that it loads in the taskbar and is behind all my other windows and only comes to the front when I click the taskbar item. Setting it to TopMost and/or calling BringToFront for the form does not seem to help either.
I assume this is because the form is running in a thread. But is there a way to make this form TopMost when it loads.
Thanks a lot.
TopMost and BringToFront for Form showing in a Thread.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

mayanix2 reputationPosted Aug 30, 2010, 6:54 AM EDT
Pasan Ratnayake100 reputationPosted Aug 31, 2010, 11:36 PM EDT
Pasan Ratnayake100 reputationPosted Aug 31, 2010, 11:37 PM EDT
If you can post a simple application that demonstrates your scenario it would be helpful.