Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Taking keystrokes from PopUpMenuSelect
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Taking keystrokes from PopUpMenuSelect



On 07/06/2006 11:02 Pm, Mike Kluev wrote:

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

Or simply UserFocus event target.

Mike

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

This email sent to email@hidden

References: 
 >Re: Taking keystrokes from PopUpMenuSelect (From: Mike Kluev <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.