Focus on a form

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Phil (putitinthepost_at_nowhere)
Date: 12/20/04


Date: Mon, 20 Dec 2004 15:45:15 -0000

Hi

Does anybody know of a way of preventing a form from receiving the focus?
Okay, I know I can do it via a ShowDialog call in another form but what if I
don't want to use that technique.

My problem is that I'm displaying a form in the middle of another form. When
I click the outer form, the inner form disappears. I don't want this to
happen. How can I do this without using ShowDialog?

Ta

Phil