Creating an NSMenuItem with an icon in the dock menu?
Creating an NSMenuItem with an icon in the dock menu?
- Subject: Creating an NSMenuItem with an icon in the dock menu?
- From: Jonathan Wight <email@hidden>
- Date: Sat, 08 Feb 2003 21:43:22 -0600
I'm returning an NSMenu from my application delegate's applicationDockMenu
method. I'm trying to give the menu items icons using -[NSMenuItem
setImage:] but no matter what I do no icons show up. Searching the list
archives I noticed someone had problems setting menu icons in a dockling...
Now I notice the DockBrowser sample application can set icons in a for items
in a dock menu - but that's a pure carbon application.
Is there some magic trick to getting icons working in a dock menu in Cocoa?
Or am I going to have to resort to some Cocoa/Carbon hackery?
Cheers.
Jon.
_______________________________________________
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.