Check this page out... It may have some helpful info:
http://meandmark.com/keyboardpart1.html
It also has source code in an Xcode project. Chapter
4 deals with keyboard stuff. Just click on the
'Source Code' link on the left of the page to get the
project.
-Thorrin
--- Hao Jiang <email@hidden> wrote:
> Guys,
>
> I am experiencing difficulties in coding Carbon
> event handlers.
> My goal is to intercept a mouse/keyboard event and
> prevent it from happening
> across all processes.
> Yet, the GetEventMonitorTarget() just dupicates the
> event, the original one
> is also sent to the process.
> It is sort of like Windows' LowLevel Mouse Hook, but
> I just could not find a
> proper method to do that?
> Any ideas?
>
> Thanks,
> -Hao
> > _______________________________________________
> 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
"Everyone is allergic to giant rocks hitting them in the head!"
-Thorrin's elf chick after casting a 'meteor swarm' spell ;)
____________________________________________________________________________________
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs
_______________________________________________
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