[Migrated content. Thread originally posted on 28 April 2004]
I haven't played around with the MessageBox API call extensively to narrow this down, but it appears that when you use DISPLAY MESSAGE BOX with an ICON type of 3 (MB-ERROR-ICON), the runtime is automatically applying the MB_SYSTEMMODAL attribute to the message box, so that the message box window has the WS_EX_TOPMOST attribute.This means that even if I switch to another application, the message box from my Acucobol app is stuck in the middle of the screen, waiting it to be dismissed.
Is there any way to disable that (other than changing the icon type, because I want the error icon, but not the behavior the runtime rudely assumes)? It seems kind of silly to a user that a minor error message from an accounting app would force itself to the front of all windows.