What is a key window? And what is it used for? I read its used for "key input";but could someone expand on this? An example would be appreciated.
Asked
Active
Viewed 4,287 times
26
-
2Why was this down voted? If you downvote, give an appropriate reason. – fdh Jan 25 '12 at 01:37
1 Answers
38
The "key window" is the window that is currently accepting mouse and keyboard events. Usually the main window and the key window are the same, but that's not necessarily true (for example, if you have a utility window open, it can't be the main window, but it may become the key window).

Lily Ballard
- 182,031
- 33
- 381
- 347