Re: CGEventTap Not Receiving Events after some time

2010-09-30 Thread Erik Aigner
reconquers the event tap? Regards, Erik On 30.09.2010, at 11:01, Bill Cheeseman wrote: On Sep 29, 2010, at 3:52 PM, Erik Aigner wrote: When I create an event tap with CGEventTapCreate(..) and add it to the runloop everything works as expected. However, after some time (I don't know what

Re: CGEventTap Not Receiving Events after some time

2010-09-30 Thread Erik Aigner
No, i figured out. It was some code in the callback that prevented me from identifying a timeout message (wasn't easy recognizable on the first look). Regards, Erik On 30.09.2010, at 14:49, Bill Cheeseman wrote: On Sep 30, 2010, at 6:28 AM, Erik Aigner wrote: I already check

CGEventTap Not Receiving Events after some time

2010-09-29 Thread Erik Aigner
When I create an event tap with CGEventTapCreate(..) and add it to the runloop everything works as expected. However, after some time (I don't know what triggers this) the event tap doesn't receive events anymore, until I manually call CGEventTapEnable(..) again. Any clues what could cause

Prevent Text Highlighting

2008-09-02 Thread Erik Aigner
Hi, how can i prevent text highlighting (e.g. on enter key) in a NSTextFieldCell? -- eric ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

CGEventTap locks up entire system

2008-09-01 Thread Erik Aigner
Hi, im using CGEventTap to prevent iTunes from getting the media key events. This works all fine, but however... when i click something on the UI of my application the entire system UI freezes - game over. Why is this happening? (the event tap callback seems not to be called when i click