Re: notification before dockMenu is shown
Re: notification before dockMenu is shown
- Subject: Re: notification before dockMenu is shown
- From: Brian Webster <email@hidden>
- Date: Mon, 10 Dec 2001 11:44:28 -0600
On Monday, December 10, 2001, at 12:14 AM, cocoa-dev-
email@hidden wrote:
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