How To Bring an Application Window to the Top with Focus (186431)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q186431 SUMMARY
This article describes how to use the BringToTop and FindWindow API
functions to bring another window to the foreground with the focus.
REFERENCES
For more information about API calls and API functions, search using the
keywords "API" or "Declare" in the Visual Basic On-line Help.
For information about creating a form that always stays on top, please see
the following article in the Microsoft Knowledge Base:
184297
: How To Create a Form That Always Stays on Top
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by
Richard T. Edwards, Microsoft Corporation
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbGrpDSVB kbhowto KB186431 kbAudDeveloper |
---|
|