In my project I open sub-windows that respond to Enter (OK button, close window) and Esc (Cancel button, close window). Some of them open Asl file requesters. What I noticed is that if you type in a filename and hit Enter, it for some reason is also passed on to my window and it also receives an Enter key code. Same for Escape key. Why is that? I think it should be doing that. It giving my program false key presses.