How to Display a Task Modal Dialog from a 32-Bit DLL (129798)
The information in this article applies to:
- 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 Q129798 SUMMARY
If a Message box is displayed from a 32-bit DLL by calling it from Visual
Basic version 4.0, the Message box does not behave as if it were a task
modal dialog. In other words, Visual Basic allows you to change the focus
to other forms in the application by clicking them.
On the other hand, a MsgBox displayed from Visual Basic itself always
behaves as if it were a task modal dialog. This article shows by example
how to force a Message box invoked from a 32-bit DLL to behave as a Visual
Basic MsgBox behaves.
Modification Type: | Major | Last Reviewed: | 11/18/2003 |
---|
Keywords: | KB129798 |
---|
|