Mailing Lists: Apple Mailing Lists

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

Re: Taking keystrokes from PopUpMenuSelect



On Tue, 6 Jun 2006 11:35:20, "Greg Minton" <email@hidden> wrote:

> I want to intercept keystrokes sent to a popup menu and shunt them
> elsewhere.

Why? That would be non-standard behavior.

> Handlers installed on the application or event dispatcher
> get "normal" keystrokes, but miss the spacebar, which is taken as a
> close command to the menu.  Is there a way to get keystrokes (in
> particular, a space) before the menu loop processes them?  Alternately,
> can I pop up the (HIView) menu without PopUpMenuSelect?

The next thing I'd try is installing event handler on the
control target, and if that doesn't help - on the popup
menu itself.

Mike

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



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.