Re: Creating an NSMenuItem with an icon in the dock menu?
Re: Creating an NSMenuItem with an icon in the dock menu?
- Subject: Re: Creating an NSMenuItem with an icon in the dock menu?
- From: Kristin <email@hidden>
- Date: Sun, 9 Feb 2003 15:37:56 -0800
Hi Jon,
Unfortunately this is not yet well supported in Cocoa. We do intend to
make this possible, but custom icons are not yet supported in the dock
menu of Cocoa apps in 10.2.
Kristin
From: Jonathan Wight <email@hidden>
Date: Sat Feb 8, 2003 7:43:22 PM US/Pacific
To: email@hidden
Subject: Creating an NSMenuItem with an icon in the dock menu?
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.
_______________________________________________
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.