• 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
changing NSMenuItem's state image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

changing NSMenuItem's state image


  • Subject: changing NSMenuItem's state image
  • From: Andreas Wolf <email@hidden>
  • Date: Tue, 28 Jan 2003 18:34:37 -0800

NSMenuItem has a -(void)setOnStateImage:... selector to change the default image (a checkmark).
Cocoa help says that MacOS X currently does not support changing that image.

Does anybody have an idea how to make this happen (ie. put an arbitrary image in the place of the checkmark)
despite that restriction?
Seems like subclassing from NSMenuItem wouldn't help .. (right?)

Thanks much,
-Andreas
_______________________________________________
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.

  • Prev by Date: Re: Drawing gradients in views
  • Next by Date: Fat32
  • Previous by thread: Text view with table header?
  • Next by thread: Fat32
  • Index(es):
    • Date
    • Thread