The information in this article applies to:
SUMMARY
There are two kinds of system modal message boxes:
MORE INFORMATION
If a task wants to bring up a system modal message box and requires
that messages be received by its other windows, a soft system modal
message box must be used. For example, a task may require that
WM_TIMER messages be received by a window it owns even while it
displays a system modal message box. On the other hand, a hard system
modal message box will prevent any other window in the system from
receiving messages. A hard system modal message box is also
appropriate in low memory situations because it uses very few system
resources.
(Other flags such as MB_OK, MB_OKCANCEL, and so forth can also be
used. However do not use any other MB_ICON* flags).
A soft system modal message box can be created by including the following flags in the fuStyle parameter
where MB_ICON* is any MB_ICON* style except MB_ICONHAND or
MB_ICONSTOP.
(Other flags such as MB_OK, MB_OKCANCEL, and so forth can also be used. However do not use MB_ICONHAND or MB_ICONSTOP.) Note that other tasks in the system do not receive any messages when a task puts up a hard or soft system modal message box. Additional query words:
Keywords : kb16bitonly kbMessageBox kbSDKPlatform |
Last Reviewed: June 7, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |