
Signature
An ideal world is left as an excercise to the reader.
--- Paul Graham, On Lisp 8.1
> When using the Carbon API, what is the last event a window can
> receive, and how do I ensure (what type spec do I need) that I receive
> it? Also, do I need to CFRelease the EventHandlerRef I got from
> InstallEventHandler, or can I just ignore it?
You was to use kEventClassHIObject, kEventHIObjectDestruct.
Do _not_ CFRelease the handler ref.
> Will calling RemoveEventHandler in response to an event ensure that I
> don't receive future events for the given target? Same question about
> the EventHandlerRef again.
Yes, same answer about the handler ref.
meeroh

Signature
If this message helped you, consider buying an item
from my wish list: <http://web.meeroh.org/wishlist>