Please enable JavaScript to view this site.

A-Shell Development History

Navigation: Version 5.1/6.0, builds 1100-1271 > 1211 – 07 April 2011

MSGBOX Handling of Ctrl+C

Scroll Prev Top Next More

MSGBOX.SBR now checks if the CTRL and C keys are down, both on entrance and exit. If so, and CTRLC is enabled for the job, error 1 is triggered. Otherwise, it returns the new return status code 12 (MBRC_CTRLC). This should help alleviate a frustrating situation where a program was putting up error message boxes too fast to allow the ^C keyboard status to be detected between the MSGBOX calls (and CTRL+C is not recognized as an abort by the standard Windows message box itself).