• 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: Dock Menus
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock Menus


  • Subject: Re: Dock Menus
  • From: Mike Blaguszewski <email@hidden>
  • Date: Wed, 12 Apr 2006 19:08:18 -0400

On Apr 12, 2006, at 6:59 PM, Andy Lee wrote:

On Apr 12, 2006, at 6:48 PM, Rick Langschultz wrote:
I was wondering how I can add Dock Menus to my application icon in the dock when users click on the application and remain on that icon.
<snip>
Allows the delegate to supply a dock menu for the application dynamically.


- (NSMenu *)applicationDockMenu:(NSApplication *)sender

If it's a static menu, then it's even easier. Just drag a new menu into in your nib, and connect it to the dockMenu outlet of the application object.


--
Mike Blaguszewski / Ambrosia Software, Inc.



_______________________________________________
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


References: 
 >Dock Menus (From: Rick Langschultz <email@hidden>)
 >Re: Dock Menus (From: Andy Lee <email@hidden>)

  • Prev by Date: Double precision drawing in Cocoa
  • Next by Date: Re: Cocoa Books
  • Previous by thread: Re: Dock Menus
  • Next by thread: Double precision drawing in Cocoa
  • Index(es):
    • Date
    • Thread