Hello
I have some application active (for example, finder) and its window is
a keyWindow that receives keyboard events
After i click on a "free from windows" part of a desktop with right
mouse button, i have a popup menu dropped down, and somehow this menu
now gets keyboard events (for example, when i press up, and down keys,
the menu cursor moves up and down). The Finder application is still
active, and i presume its window is still key window. But desktop menu
- it is a different process, a different application and a different
window. How come it receives keyDowns and how come Finder doesn't
receive them anymore, unless i click on Finder's window with left
mouse button?
What is the mechanism that is used and what is the route the key
events go till they reach that menu? I was trying to find out this
info in event programming guide, but without any luck :(
Do i correctly understand that popup menu is an ordinary cocoa window,
which is only made topmost by calling
[setLevel:NSPopupMenuWindowLevel]?
Thanks!
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to