• 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
Keyboard events in a PrefPane
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keyboard events in a PrefPane


  • Subject: Keyboard events in a PrefPane
  • From: "Yves Peneveyre" <email@hidden>
  • Date: Thu, 15 Nov 2001 17:20:27 +0100

Hello the list,

I need my PrefPane be notified when the user press the alt key on the
keyboard (to change some things in the pane, for example).
The problem I have is that NSPreferencePane doesn't inherit of NSResponder
so I can't override the flagsChanged method to catch the alt key event.

So, how can/could I catch this event ?

In the same idea, I can't catch the mouseMoved event. If anyone has an
answer to "how to catch mouse events in a PrefPane ?", let me know.

Any help would be appreciated
I thank you in advance.

Best Regards
Yves

----------------------------------------------------------------
Yves Peneveyre direct line : ++41 21 802 5754
Software Engineer fax : ++41 21 802 5751
LooKware development Ltd phone : ++41 21 802 5750
6B, ch du Trisi email: email@hidden
CH - 1028 Priverenges web: http://www.lookware.ch
----------------------------------------------------------------


  • Follow-Ups:
    • Re: Keyboard events in a PrefPane
      • From: Finlay Dobbie <email@hidden>
  • Prev by Date: How to tab into a NSTableView?
  • Next by Date: Re: sub-projects in ProjectBuilder
  • Previous by thread: How to tab into a NSTableView?
  • Next by thread: Re: Keyboard events in a PrefPane
  • Index(es):
    • Date
    • Thread