• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSMenu and NSMenuView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • NSMenuItem setImage:
      • From: David Litwin <email@hidden>
  • Prev by Date: Aqua highlight color
  • Next by Date: Re: Aqua highlight color
  • Previous by thread: Re: Aqua highlight color
  • Next by thread: NSMenuItem setImage:
  • Index(es):
    • Date
    • Thread