Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fake NSMenu-like view



Thanks, Camillo. Definitely some interesting drawing utilities in there that I hadn't noticed. I see that they became public in 10.3, which I might be amenable too. I also see however that they are poorly documented, outside of the HITheme.h header file.

Daniel

On Jan 31, 2006, at 4:11 PM, Camillo Lugaresi wrote:

On 29/gen/06, at 21:59, Daniel Jalkut wrote:

I want to develop a "fake menu" view such that I can present UI somewhat like the "menu" that appears below a Spotlight query when invoked from the menu bar.


Does anybody have any advice? It doesn't have to be so much like a real menu. That is, it won't need things like hierarchical displays or keyboard shortcut symbols, etc. But it needs to present text in the menu font against the faintly-striped background (fortunately I think that's the standard window background).

When you want to emulate the look of standard UI elements in a custom view, use the HITheme API.


Camillo

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Fake NSMenu-like view (From: Daniel Jalkut <email@hidden>)
 >Re: Fake NSMenu-like view (From: Camillo Lugaresi <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.