On 4 Sep 2008, at 8:26 pm, Vijay Malhan wrote:

How do I make NSPanel(activating utility window) to resign key focus on an
event (escape key down). I have tried:
- resignFirstResponder
- resignKeyWindow
etc.

None works.

I have sub-classed NSPanel to get keydown events.


This won't work because it doesn't know who should become the responder when it resigns. Instead, if you make some other object (window) key, this one should lose that status. (i.e. it can only jump if it has somewhere *to* jump).

hth, Graham
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to