Bring window to front on startup
Posted on 2003-03-31
I have an application which does not have a visible form at startup. A timer event launches the form when criteria are met. The very first time the form is launched after application startup, it does not come to the front of other windows; however, if the user clicks the taskbar bringing the window front, does required actions and closes window, every subsequent time the form is launched it is on top. It does not bring it to front the very first time it's called.
I have been able to determine that the user must click an event within the form for each subsequent launch to be forward. If the user just minimizes or closes the window, it will continue to launch in the background.