• 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 Vannorsdel <email@hidden>
  • Date: Thu, 07 Feb 2002 01:42:20 -0700

The quickest way is while in Interface Builder, connect a menu to File
Owner's dockMenu outlet.

Otherwise, register an object as NSApp's delegate and have the object
implement this method:

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

and return your menu.


On 2/7/02 1:27 AM, "Mark Weinstein" <email@hidden> wrote:

> Does anyone have any sample code to create a popup menu from the dock icon?
> I know how to do it from a Carbon app, but it apparently isnt as easy with
> Cocoa. Any help would be appreciated!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Dock Menus (From: Mark Weinstein <email@hidden>)

  • Prev by Date: Dock Menus
  • Next by Date: Re: Multiple nibs
  • Previous by thread: Dock Menus
  • Next by thread: Removing NSLog & NSAssert for deployment
  • Index(es):
    • Date
    • Thread