• 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
Re: Getting the lined background image for menus.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting the lined background image for menus.


  • Subject: Re: Getting the lined background image for menus.
  • From: Eric Schlegel <email@hidden>
  • Date: Thu, 30 May 2002 23:10:24 -0700

On Thursday, May 30, 2002, at 01:49 PM, Rosyna wrote:

Is it possible to draw an attributed string with the lined background color used in menus when a menu item is selected or not?

I've tried the NSColor +selectedMenuItemColor but it returns a dark blue that's unlined. (as it says it will do in the docs)

You could call DrawThemeMenuItem and pass a callback proc that draws the string. DrawThemeMenuItem will draw the lined background pattern first.

-eric
_______________________________________________
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:
    • Re: Getting the lined background image for menus.
      • From: Rosyna <email@hidden>
References: 
 >Getting the lined background image for menus. (From: Rosyna <email@hidden>)

  • Prev by Date: Re: NSURL question (not so easy (i think))
  • Next by Date: Re: Getting the lined background image for menus.
  • Previous by thread: Getting the lined background image for menus.
  • Next by thread: Re: Getting the lined background image for menus.
  • Index(es):
    • Date
    • Thread