How To Use FlashWindowEx to Notify a User from Visual Basic (254339)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows 2000
- Microsoft Visual Basic Professional Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows 2000
- Microsoft Visual Basic Enterprise Edition for Windows 5.0, when used with:
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows 2000
- Microsoft Visual Basic Enterprise Edition for Windows 6.0, when used with:
- the operating system: Microsoft Windows 98
- the operating system: Microsoft Windows 2000
This article was previously published under Q254339 SUMMARY
Under Microsoft Windows 98, Microsoft Windows Me, and Microsoft Windows 2000, a change was made regarding how Windows allows the foreground window to be set. An application is no
longer permitted to bring a window to the foreground unless:
- The application is already the foreground window.
- The application activated the current foreground window.
- The application received the last input event.
- There is currently no active foreground window.
- The foreground application is being debugged.
-
The foreground lock timeout has expired.
Windows 2000 introduces the following constraint:
This article demonstrates how to implement the new method of alerting a user to an application using the FlashWindowEx API function from Visual Basic.
For further information on this topic, see the "References" section below.
REFERENCES
Platform SDK Documentation: "Foreground and Background Windows"
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbAPI kbhowto KB254339 |
---|
|