By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,728 Members | 753 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,728 IT Pros & Developers. It's quick & easy.

TopMost window loosing focus when another process is started...

P: n/a
Using VB .NET 2003, I am having problems with a windows application that I
have written: Here's the situation. The application I created has a main form
that has its TopMost property set to True (so that the form is always on
top). During the execution of the application, a new process is created using
"Process.Start(<some app>)". The problem is that after I start a new process,
my main form no longer has focus, so all keyboard events are being registered
in the process which is buried behind my "TopMost" form.

How can I set my form to have to focus?

I've tried: me.focus() & me.BringToFront() with no success... any
suggestions or alternatives?

Thanks for your attention to my question!

--Charles

Jan 24 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.