G
Guest
I have got an application that will present a custom dialog box to enter a username/password. Before it opens up it does other things, such as connects to the db. I decided to put a splash screen on the front of this, which opens up in a separate thread, and kills itself after a set time
Ever since I have started to display the splash screen, my logon window never gets the focus - even after the splash closes down. Both splash screen and logon window are called from another, non-visible (at startup) form.
The logon screen is set to be the topmost, and is a fixed toolbox window. I have tried calling frmLogon.Focus() and the app still doesn't get focus
How do I force this window to take focus
Thank
Martin
Ever since I have started to display the splash screen, my logon window never gets the focus - even after the splash closes down. Both splash screen and logon window are called from another, non-visible (at startup) form.
The logon screen is set to be the topmost, and is a fixed toolbox window. I have tried calling frmLogon.Focus() and the app still doesn't get focus
How do I force this window to take focus
Thank
Martin