How To Make a Form a Topmost Window Using APIs (195516)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q195516 SUMMARY
Sometimes you might want to make a form the topmost window on the Windows
desktop to prompt a user to perform an action, and, when the user performs
the action, return the form to its previous window. This article will
demonstrate how to use the FindWindowA and SetWindowPos Application Program
Interfaces (APIs).
REFERENCES
"PC Magazine's Visual Basic Programmer's Guide to the Windows API" by
Daniel Appleman, published by Ziff-Davis Press, pages 215 and 243.
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by Dean
Christopher, Microsoft Corporation.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbDesigner kbhowto KB195516 |
---|
|