CGPostMouseEvent and NSMenu
CGPostMouseEvent and NSMenu
- Subject: CGPostMouseEvent and NSMenu
- From: patrick machielse <email@hidden>
- Date: Mon, 28 Aug 2006 17:16:52 +0200
I'm creating a program that (amongst other things) is able to move
the mouse pointer. I use CGPostMouseEvent to accomplish this, and it
works fine, with one exception. In the application itself (which has
a GUI) it is not possible to move the mouse if an NSMenu is open. For
instance, if the mouse pointer is over a menu from an NSPopUpButton,
or the menu hanging of the NSStatusItem the call to CGPostMouseEvent
no longer moves the mouse. It works fine for NSMenu instances in
other programs.
Is there something I'm missing?
patrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden