Keyboard events in a PrefPane
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
----------------------------------------------------------------