Re: detect "left mouse button clicked in menu bar"

2009-08-13 Thread David M. Cotter
sorry, bad choice of words on my part. i meant i want to call a function. anyway i learned about "NSMenuDidBeginTrackingNotification" which does exactly the trick i was looking for On Aug 13, 2009, at 8:09 PM, Michael Watson wrote: On Aug 13, 2009, at 16:56, "David M. Cotter" wrote:

Re: detect "left mouse button clicked in menu bar"

2009-08-13 Thread Michael Watson
On Aug 13, 2009, at 16:56, "David M. Cotter" wrote: i know i can detect when a particular menu is about to be shown, but what I want is to run a quick process before any menus from the menu bar are shown Launching a process is by no means a "quick" operation. It is imperative that menus

Re: detect "left mouse button clicked in menu bar"

2009-08-13 Thread Peter Ammon
On Aug 13, 2009, at 2:56 PM, David M. Cotter wrote: i know i can detect when a particular menu is about to be shown, but what I want is to run a quick process before any menus from the menu bar are shown, and not run it again all the while the user is browsing the menus in the menu bar h

detect "left mouse button clicked in menu bar"

2009-08-13 Thread David M. Cotter
i know i can detect when a particular menu is about to be shown, but what I want is to run a quick process before any menus from the menu bar are shown, and not run it again all the while the user is browsing the menus in the menu bar how do i do this? apparently there is no "mouseDown" e