• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: notification AFTER dockMenu is shown
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: notification AFTER dockMenu is shown
      • From: Jake <email@hidden>
References: 
 >Re: notification AFTER dockMenu is shown (From: Jake <email@hidden>)

  • Prev by Date: Re: notification AFTER dockMenu is shown
  • Next by Date: Re: Cocoa Documentation Updated for December Tools Release
  • Previous by thread: Re: notification AFTER dockMenu is shown
  • Next by thread: Re: notification AFTER dockMenu is shown
  • Index(es):
    • Date
    • Thread