Receive mouse events in background
Receive mouse events in background
- Subject: Receive mouse events in background
- From: Ambroise Confetti <email@hidden>
- Date: Fri, 17 Oct 2003 15:23:52 +0200
Hello,
I have the following problem: I have a Cocoa window that needs to
receive key events when the mouse is over it. I could do that simply by
watching mouse-moved events that occur in the window and making it the
key window when such an event occurs. The problem is that a window
doesn't seem to receive mouse-moved events when it is not the front
window. However, I know this is possible since Safari highlights its
toolbar shortcuts when the mouse comes over them, even if it is not the
active app (it's the same for window title bar buttons).
Does anyone know how I could make my window receive mouse-moved events
even when it's not the foremost one?
Thanks in advance,
Ambroise
http://www.cellulo.info/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.