Activate window/application
- by LnDCobra
I have implemented a Splash Screen according to WiredPrairie unmanaged c++ splasher class.
But not when my application loads, my window isn't activated. The user has to click on the login box even thought it is the only window open in my application.
I have tried the following but none of these work.
Topmost = true;
Focus();
Activate();
Is there any way to give my login window focus when the application starts? Sometimes the window behind it has focus! (Visual Studio if run on my machine), Explorer or a different application window on other peoples machines.
Anyone have any idea?