Re: Getting the lined background image for menus.
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.