How to Determine Display State of a VB Form, Modal or Modeless (77316)
The information in this article applies to:
- Microsoft Visual Basic Standard Edition for Windows 2.0
- Microsoft Visual Basic Standard Edition for Windows 3.0
- Microsoft Visual Basic Professional Edition for Windows 2.0
- Microsoft Visual Basic Professional Edition for Windows 3.0
- Microsoft Visual Basic Standard Edition for Windows 1.0
This article was previously published under Q77316 SUMMARY
The Show method in the Visual Basic for Windows language can display a
form either as modal or modeless. No direct support exists in the
language to determine the display state of the form without maintaining
global variables that contain the display state of the form. However,
the Windows API function GetWindowLong can be used to check the display
state of the form.
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbcode kbhowto kbWndw KB77316 |
---|
|