Microsoft KB Archive/66367

Stop Sign Doesn’t Appear in System Modal Message Box

PSS ID Number: Q66367 Article last modified on 11-05-1993

3.00 MS-DOS

= SUMMARY =

There was a change between Windows versions 2.x and Windows version 3.0 with respect to icons and system modal message boxes. In Windows version 3.00, icons can no longer be used in system modal message boxes. Applications still must use the combination of MB_ICONHAND and MB_SYSTEMMODAL flags for Windows to display the resulting message box regardless of available memory. When these flags are specified, Windows also limits the length of the message box text to one line. To work around this limitation, if you know you don’t need a system modal message box, you can use either the MB_APPLMODAL or MB_TASKMODAL flags along with the desired icon.

Additional reference words: 3.00 KBCategory: KBSubcategory: UsrDlgsMsgbox Copyright Microsoft Corporation 1993.