NSMenu and NSMenuView
NSMenu and NSMenuView
- Subject: NSMenu and NSMenuView
- From: David Litwin <email@hidden>
- Date: Tue, 11 Jun 2002 13:56:45 -0700
Hello, I'm looking to have a custom look for some menus and menu items.
I'm guessing this involves subclassing and overriding a draw method
somewhere, but this is where I need info.
All of my searching through the Apple documentation and discussion lists
seems to point to two mutually exclusive descriptions of how NSMenus
work:
One set describes how an NSMenu works with an NSMenuView
(
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/ProgrammingTopics/
MenuList/index.html#//apple_ref/doc/uid/10000032i), and the other says
that NSMenuView is no longer used
(
http://developer.apple.com/techpubs/macosx/Cocoa/Reference/ApplicationKit/
ObjC_classic/Classes/NSMenuView.html)
My searches of discussion lists also reference NSMenuView as a class
working with NSMenu, and separately that it is no longer used for
drawing.
Anyone know which is accurate? The references mentioning NSMenuView's
deprecation don't give any information about how things actually work
without it with regard to drawing, and I can't find any drawing related
methods to override in NSMenu.
Thanks,
David Litwin
Senior Software Engineer
Connectix
_______________________________________________
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.