setState for NSMenuItems in Dock menu
setState for NSMenuItems in Dock menu
- Subject: setState for NSMenuItems in Dock menu
- From: email@hidden (Sebastian Krauß)
- Date: Mon, 25 Feb 2002 01:29:54 +0100
Hi everybody,
I tried getting the little checkmarks for certain menu items in my Dock
menu to appear as I have no problem to make them appear in usual menus.
The menu items concerned are in a submenu.
The Dock menu is created dynamically (speak, not statically in IB), I
tried [myMenuItem setOnStateImage:[NSImage imageNamed:@"NSMenuRadio"]]
before setting the state to NSOnState, I tried allocating the Menu I
return with the NSMenu zone and without...
No success. As I said, I'm not doing this differently than in other code I
wrote where it works. Every key window has one in the Dock menu, so it is
possible.
Any ideas?
Sebastian
---
"Most people put some sort of quote at the end of their signature.
I don't."
-- Liam Downing
_______________________________________________
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.