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: kEventTextInputUnicodeForKeyEvent Propagation?




On Jul 28, 2005, at 7:56 AM, Takehiko Abe wrote:

Can you name a single non-apple framework based on carbon?

MacApp, PowerPlant, MacZoop, SWT, Nitrogen (not really a framework, but close enough).


Are you sure? WaitNextEvent based event dispatch is oblivious
to what composite windows are doing behind the scene. How can
they work together?

In the context of Florian's specific problem, compositing status of a window doesn't change how the window handles text input, so it's irrelevant in this case. In general, however, event handlers are always called within WaitNextEvent as appropriate, so you can still use WaitNextEvent for your main loop, and install event handlers on any event target, and they'll be called properly. You won't get updateEvts out of WaitNextEvent for compositing windows, of course, and you wouldn't get mouseDown events either since those would be dispatched via Control Manager events.


-eric

_______________________________________________
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
References: 
 >Re: kEventTextInputUnicodeForKeyEvent Propagation? (From: Eric Schlegel <email@hidden>)
 >Re: kEventTextInputUnicodeForKeyEvent Propagation? (From: "Takehiko Abe" <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.