Re: Word Association Game Community Center Geeks' Lounge by happygeek Esc -> apologist Re: Code block entry Community Center Meta DaniWeb by Ancient Dragon Esc doesn't close the window, at least it doesn't work in IE9. Maybe you should put a Cancel button on the code window. Sony Vaio FE "ESC" key ative all the time Hardware and Software Hardware by digo_h … VGN FE670G and my computer has the "ESC" key activated almost all the time. I…a keyboard mapper to make sure it was the ESC key that was "stuck". Physically the… fine, but out of nowhere is like the ESC key is pressed all the time. Its impossible…I try to to gets cancelled because of the ESC key. I even tryied to use an external… Re: Sony Vaio FE "ESC" key ative all the time Hardware and Software Hardware by digo_h … VGN FE670G and my computer has the "ESC" key activated almost all the time. I…a keyboard mapper to make sure it was the ESC key that was "stuck". Physically the… fine, but out of nowhere is like the ESC key is pressed all the time. Its impossible…I try to to gets cancelled because of the ESC key. I even tryied to use an external… Re: Sony Vaio FE "ESC" key ative all the time Hardware and Software Hardware by lavie … same problem with my VAIO (VGNFE790G). It wasn't the ESC key though, it was the W. I am on it… Re: Check if ESC is pressed Programming Software Development by Ancient Dragon … that because I had not typed any other characters before Esc key. But I see that behavior now. I dual …booted into Ubuntu and tried the same program. There pressing Esc prints [icode]^[[/icode] until ^C is pressed, then it …prints 27 for each time Esc was pressed. Neither MS-Windows nor *nix produces the desired… Trapping the ESC Key during the program execution. Programming Software Development by rajeshkhanna_in Hi all Is it possible to trap the ESC key during the execution of an mdi form? I want the esc key to be trapped and when it is pressed I want the current form to be unloaded. Is it possible? Any help will be appreciated. Rajesh Khanna Re: Trapping the ESC Key during the program execution. Programming Software Development by Teropod … Sub Form_KeyDown(KeyCode As Integer, Shift As Integer) Const ESC = vbKeyEscape If KeyCode = ESC Then MsgBox "you pressed esscape" End… Check if ESC is pressed Programming Software Development by iNach Hey, I have a problem. I want that when the user presses the ESC Key, my program will send him a message if he sure he wants to exit the program. [b]Basicaly what I need help with is how to do the "IF Esc is pressed"[/b] Thanks Re: Check if ESC is pressed Programming Software Development by nezachem [QUOTE=Ancient Dragon;1146654]Sorry but hitting the Esc key does nothing [/QUOTE] Now create a file with an escape, and run your program with input redirected from it. [QUOTE]There pressing Esc prints [icode]^[[/icode][/QUOTE] Yes, that's the way an xterm visualizes escape. why break; dosn't work when i press esc? Programming Software Development by Saeid_1 …; "Please press ENTER to roll the dice and press ESC for exit ."; do { char ch = getchar(); if (ch = 13… else if statement to exit the program when user press esc key but when user press that key nothing's happen… Re: Little Qvery for "Esc" button. Programming Software Development by mvmalderen …: [CODE] do { // Put other code here if necessary } while( key != ESC ); [/CODE] (Here I assume that [B]key[/B] is a… contains the value/code of read key, and that [B]ESC[/B] should be replaced by the keycode you get by… Re: Check if ESC is pressed Programming Software Development by shah1248 … *argv[]) { char k; k = getch(); if (k==27) printf("ESC pressed.\n"); return EXIT_SUCCESS; } [/code] Try it. :) Re: Check if ESC is pressed Programming Software Development by Ancient Dragon AFAIK ESC can not be detected using standard i/o, such as getchar() and fgets(). Same with other special keys such as function and arrow keys. Re: Check if ESC is pressed Programming Software Development by nezachem [QUOTE=Ancient Dragon;1146486]AFAIK ESC can not be detected using standard i/o, such as … Re: Check if ESC is pressed Programming Software Development by Ancient Dragon Sorry but hitting the Esc key does nothing with vc++ 2008 express on Windows 7 Home Premium [code] int main() { int ch; while((ch = getchar()) != EOF) printf("%d\n",ch); } [/code] Re: Check if ESC is pressed Programming Software Development by Ancient Dragon [QUOTE=nezachem;1146706]Now create a file with an escape, and run your program with input redirected from it. .[/QUOTE] Why would I want to do that when all I want is to capture the Esc when pressed at the keyboard (and without pressing the Enter key too)? Re: Check if ESC is pressed Programming Software Development by nezachem [QUOTE=Ancient Dragon;1146765]Why would I want to do that when all I want is to capture the Esc when pressed at the keyboard (and without pressing the Enter key too)?[/QUOTE] To make sure that stdio is capable of handling it. Re: Check if ESC is pressed Programming Software Development by iNach … *argv[]) { char k; k = getch(); if (k==27) printf("ESC pressed.\n"); return EXIT_SUCCESS; } [/code] Try it. :)[/QUOTE] Re: Check if ESC is pressed Programming Software Development by xavier666 … *argv[]) { char k; k = getch(); if (k==27) printf("ESC pressed.\n"); return EXIT_SUCCESS; }[/CODE][/QUOTE] Agreed but what… TextBox ENTER and ESC sound OnKeyPress Programming Software Development by DanyLdon …. When focus is on TextBox and we press ENTER or ESC then we will hear that sound. I'm trying to… Little Qvery for "Esc" button. Programming Software Development by nirav99 … validation. "while program is executed, if i press "Esc" button (hardly situated in top-left corner) i will… Re: Little Qvery for "Esc" button. Programming Software Development by nirav99 … "getch()".. but not working... when i press "Esc" i want to directly end the executed program, but… Re: Little Qvery for "Esc" button. Programming Software Development by nirav99 … when any program has been executed if we press "Esc" button the program suddenly goes to end. It should… Re: TextBox ENTER and ESC sound OnKeyPress Programming Software Development by tanioskahi Your solution is correct, except that you should use [code](e.KeyChar != 13) && (e.KeyChar != 27)[/code] because by using OR, when it's ENTER, it's not ESC, and the default handler is called (and vice-versa). Keypress "ESC" Programming Software Development by Lee21 … need your help. I want that everytime I press the ESC "ESCAPE key" there will be a message box… Re: Keypress "ESC" Programming Software Development by Lee21 …; when the message box appeared and then I press the ESC again, the command does not executed anymore... help me.. Disable Alt+TAB, win key, ctrl esc key Programming Software Development by nemzmiyaw i want to disable the Alt Tab, windows key, ctrl esc key. FOr my Log On Security that start up in coomputer like windows log on. Thanks for the help. Try to search hours for this but i cannot find the right solution im using vb.net 2005 and OS is Vista. Hitting ESC will switch from full-screen editor <> windowed editor Community Center Meta DaniWeb by macfan once you start new topic/reply (in general:: open editor pane) and hit ESC, you will be switched from windowed to full screen and vice-versa. I am on macOS. I have no ability to check it on other platforms. Re: keycode of "Esc" in curses.h! Programming Software Development by IsharaComix …. The BEST way to fix this is to not use Esc when using keypad support. Use 'Q' or something of that…