Re: Trap mouse and keyboard events
Fritz Anderson <[email protected]> Mon, 25 Jun 2012 09:15:16 -0500
| Newsgroups | gmane.comp.macosx.devel |
|---|---|
| Message-ID | <[email protected]> |
On 25 Jun 2012, at 12:55 AM, Abhijeet Singh wrote: > Hi,I want to perform some action in my application whenever user = presses any key on keyboard or uses the mouse. How can I trap these = events....ThanksAbhijeetDear macosxdev ! Get Yourself a cool, short = @in.com Email ID now! This is a basic enough question that I advise you to read the conceptual = documentation for Cocoa before you go any further in your development = efforts. Event handling is covered in the Cocoa Event Handling Guide = <http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Ev= entOverview/Introduction/Introduction.html#//apple_ref/doc/uid/10000060i> but don't stop there. There's a link to the Cocoa Fundamentals Guide on = that page. That's your next (actually your first) step. =97 F