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: PostEventToQueue( ) from within a drift-free timer



On Sat, 27 Nov 2004 12:33:45, Eric Schlegel <email@hidden> wrote:

> Others have given you the code to set the PostTarget parameter, but I
> want to explain the larger issue here. You're creating an event with
> your own custom event class and kind. The built-in event dispatching
> mechanism has no way to know where you want your event to go, since it
> doesn't know about your class and kind, so it just sends it to the
> application target. ...

Design choice. It could have sent it to e.g. the current focus chain
(like it does with hiCommands).

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.