Making the background application be a foreground one.
Posted on 2001-09-04
Our Customer wanted to be upgraded from Win NT to Windows 2000.
We have 2 Applications, the Foreground one and the Background one, so to speak. The Foreground one calls the background one that is supposed to display a UI for the User and became an Active. We use an API call SetForegroundWindow for this. It worked well with Win NT. When using Windows 2000, it only shows that UI flashing on a task bar and User has to bring it up manually, if that UI not modal. If UI IS modal, User simply doesn't see it. These 2 applications are VB applications and worked fine in Win NT.
How do we make it work in Win 2000 with minimal efforts? Any ideas?