On 7/29/05 1:28 AM, Takehiko Abe didst favor us with:
>> 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.
>
> The point is that I do not use WaitNextEvent. It is used by the
> framework I use. Actually I did not have to be aware of
> WaitNextEvent (I hardly knew how it works) until OSX.
>
> And I know I can install carbonevent handlers. I use them
> here & there because I have to.
>
>> 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.
>
> Perhaps I could use composite windows if I try hard enough like
> tracing hidden carbonevents by TraceEventByName just as you
> suggested. However, I need to do that precisely because a WNE based
> framework and composite windows do not work together.
Any application that relies solely upon WNE for event handling will indeed
have limitations, and not just related to composited windows. However, I'm
not aware of any reason a WNE framework would be incompatible with
composited windows as long as the standard handler is installed on those
windows. I don't use a commercial framework, but my application still uses
WNE and most of my windows are composited. Off the top of my head I can't
think of anything super special I'm doing to get composited windows to work
with WNE. Would you care to describe specific incompatibilities, i.e.,
exactly what you think won't work in a WNE framework?
Larry
_______________________________________________
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