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: 10.1.3 ReceiveNextEvent gets '\0' for rawKeyDown



On Thursday, February 28, 2002, at 02:24 PM, Ricky Sharp wrote:

Is this for all situations where {kEventClassKeyboard, kEventRawKeyDown} is used? I don't use ReceiveNextEvent as the original poster does, but I do install a handler for those raw key downs and then use RAEL. I haven't yet had the time to test my apps under 10.1.3...hopefully this weekend I can look at this stuff.

We think it only happens if:

the app's main event loop uses WNE
someone starts a nested event loop (like Nav does, or the Menu Manager during menu tracking)

Under those circumstances, RawKeyDown keyboard events sent to Carbon event handlers from the nested event loop may contain zero in the MacCharCodes parameter.

If the app uses RAEL, it shouldn't happen.

If this is a "global" problem to carbon events in general, is there any workaround?

I don't know of any at this time, but we'll see if we can think of something.

-eric
_______________________________________________
carbon-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/carbon-development
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: 10.1.3 ReceiveNextEvent gets '\0' for rawKeyDown (From: Ricky Sharp <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.