Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keyboard events in a PrefPane



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
----------------------------------------------------------------




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.