ACC: Using SetSysModalWindow() API Call in Access Basic (88171)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
This article was previously published under Q88171 SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.
In Microsoft Access Basic, you can make an application modal so that users
cannot switch to other Windows-based programs while the Microsoft Access
application is active. This functionality is achieved with the following
Windows application program interface (API) functions:
SetSysModalWindow()
FindWindow()
This article discusses the use of the SetSysModalWindow() API function and
provides an example of its use in Access Basic.
NOTE: The SetSysModalWindow() API function is not supported under Win32. As
a result, you cannot use this function with Microsoft Access for Windows 95
version 7.0.
REFERENCES
For more information about the Modal property, search for "Modal," and then
"Modal Property" using the Microsoft Access Help menu.
For more information about API functions, refer to:
- "Microsoft Windows Software Development Kit," Microsoft Press, 1992
- "Programming Windows: The Microsoft Guide to Writing Applications
for Windows 3," Charles Petzold, Microsoft Press, 1990
- "Programmer's Reference Library: Microsoft Windows 3.1 Guide to
Programming Reference," Volumes 1-6, Microsoft Press, 1992
Modification Type: | Major | Last Reviewed: | 5/9/2003 |
---|
Keywords: | kbhowto kbprogramming KB88171 |
---|
|