search for: ctrl_break_event

Displaying 1 result from an estimated 1 matches for "ctrl_break_event".

2008 Jan 20
0
Ctrl handler makes Ruby crash
...''I''){ |ctrl_type| case ctrl_type when CTRL_C_EVENT puts "Ctrl-C event" Beep(750, 300) return true when CTRL_CLOSE_EVENT Beep(600, 200) puts "Ctrl-Close event" return true when CTRL_BREAK_EVENT Beep(900, 200) puts "Ctrl-Break event" return false when CTRL_LOGOFF_EVENT Beep(1000, 200) puts "Ctrl-Logoff event" return false when CTRL_SHUTDOWN_EVENT Beep(750, 500) puts("Ctrl-...