Controlling focus

D

Dave

Hi --
I have an application where it is very important that i control where
the focus is. Many times the focus gets set to a form that was just
loaded or a form becoming visible or just a form that is sitting there
that is top most. I want to be in complete control of which form has
focus. This means that when i show a new form i don't want the form to
have focus for even a millisecond. I don't want any form or any thing
to have control until i assign it to that form. Does anyone know how i
can do this? Right now the only way i have found to do this is to
impersonate a user clicking the form so that the form gets focus. I
know this is a horrible way of doing this so thats why i need to find
another way.

Thanks for any help.
 
G

Guest

Mutex and process id come to mind, but I hate apps that control the user, so
I won't help... ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top