On 7/29/05 12:50 PM, Florian Dejako didst favor us with:
>> Basically, you want to prevent the standard handler from running in
>> this case. You can do that by installing a UnicodeForKeyEvent
>> handler yourself on the window, and returning
>> eventPassToNextTargetErr. That will cause the event to skip over
>> any remaining handlers on the window (including the standard
>> handler), and be dispatched to the next target, which is the app
>> target.
>
> This fixes most of the problems. Unfortunately, this breaks the
> StandardWindowEventHandler's automatic handling of Enter/Escape for
> default/cancel buttons in dialogs. I guess I could handle those
> myself, though.
You can return eventNotHandledErr for any keystrokes you want to let the
standard handler process.
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