Re: notification AFTER dockMenu is shown
Re: notification AFTER dockMenu is shown
- Subject: Re: notification AFTER dockMenu is shown
- From: Brian Webster <email@hidden>
- Date: Mon, 10 Dec 2001 14:33:42 -0600
If the user selects a menu item, it will send the menu item's
action message to its target. There's no way to tell when a
user lets go without selecting an item, though.
On Monday, December 10, 2001, at 02:24 PM, Jake wrote:
Oh, right. I kept thinking that that was just a resource
passing delegate.
Thanks.
How about get to know when does the user let go the menu:
either selecting
something or simply let go the menu?
jake
Is there a way to sandwich some operation right after the user
control-click(or left-click and hold) the application icon in
the dock
and before the dockMenu appears?
Just implement the application delegate method
-(NSMenu*)applicationDockMenu:(NSApplication*)app. It gets
called exactly at the time you're looking for.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster