INFO: Changing the Foreground Window in Windows 98 and Windows 2000ID: Q227043
|
In Windows 98 and Windows 2000 your application can only take over the foreground under certain conditions. This article contains more specific information about these conditions. Generally speaking, if a user is actively working with another application you are not able to change the foreground window.
If you design an application for Windows 98 and/or Windows 2000 with the assumption that you can always take over the active window, your application may fail. If your application tries to take over the foreground under restricted conditions, your application flashes in the user's taskbar. Your application can take over the foreground under one of the following conditions:
For additional information about the Windows API calls that you can use to control the foreground window, please see the Platform SDK Documentation and the following article in the Microsoft Knowledge Base:
Q97925 SetActiveWindow() and SetForegroundWindow() Clarification
Additional query words: SetForegroundWindow CompatGuideChange
Keywords : kbWinOS2000 kbSysSettings kbGrpUser kbWinOS98 kbCompatVers
Version : winnt:
Platform : winnt
Issue type : kbinfo
Last Reviewed: May 10, 1999