[Lazarus] HotKey with Carbon

Eugen Bolz info at eugen-bolz.de
Fri Nov 5 06:34:04 CET 2010


Am 05.11.10 01:36, schrieb dmitry boyarintsev:
> I think you need to create UPP handler first, instead of passing the
> function pointer to the InstallApplicationEventHandler()
>
> thanks,
> dmitry
>
Isn't this function the handler?

function MAC_OS_Handler(ANextHandler: EventHandlerCallRef;
   AEvent: EventRef;
   inUserData: UnivPtr ): OSStatus; {$IFDEF darwin}mwpascal;{$ENDIF}

I'm really new to Mac and Carbon, so currently no know-how on this area :(

If this isn't the UPP Handler, could you show me one?

Best Regards
Eugen




More information about the Lazarus mailing list