• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
where to capture ctl-key combinations?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

where to capture ctl-key combinations?


  • Subject: where to capture ctl-key combinations?
  • From: James Coker <email@hidden>
  • Date: Tue, 21 Jan 2003 17:48:23 -0700

I need to capture control key commands at the top of my
one-window application, and can't find reliable information
about the correct place to do this, either in the current proj builder
doc, or in either of the two O'Rielly Cocoa books I have.

Creating a subclass of NSWindow, and overriding keyDown:
I can get most key events, but not reliably ctl-key based ones. I
suppose I could create menu items for them all, but I'd prefer
to not have that restriction.

Suggestions?

Thanks much,
Jim
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Embedding Perl in ObjC
  • Next by Date: Re: Embedding Perl in ObjC
  • Previous by thread: Re: NSOutlineView search engine
  • Next by thread: White edges on utility window when shown
  • Index(es):
    • Date
    • Thread