Re: Dock Menus
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>) |