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: [Leopard] Spotlight/Help-like menu item



Hi Jonathan,

Thanks for the valuable resources.

I will be investigating HIView and report back any success.

Best,
Pierre

On 27 Jan 2008, at 02:45, Jonathon Mah wrote:

Hi Pierre,

On 2008-01-27, at 08:39, Pierre Bernard wrote:

- What was the pre-Leopard way of doing this? I remember something about going down to Carbon, but can't find much information on the web.


I don't know how Leopard implements the Help search item, but the "StarMenu" sample code came to mind. It seems it's been removed from /Developer/Examples/ in Leopard; perhaps there's a reason for this? Anyway, it's here: <http://developer.apple.com/samplecode/StarMenu/ >

The Carbon HIView docs have some information, too: <http://developer.apple.com/documentation/Carbon/Conceptual/HIViewDoc/HIView_tasks/chapter_3_section_12.html >

Presumably you've already seen this: <http://developer.apple.com/samplecode/MenuItemView/ >
I just tried moving the button to the top of its view, and there are still a few pixels of border.


If you do have to use Carbon for this, you might be able to use some code from <http://developer.apple.com/samplecode/HIView-NSView/> to still be able to use an NSView up there.



Jonathon Mah
email@hidden



--- Pierre Bernard http://www.bernard-web.com/pierre http://www.houdah.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >[Leopard] Spotlight/Help-like menu item (From: Pierre Bernard <email@hidden>)
 >Re: [Leopard] Spotlight/Help-like menu item (From: Jonathon Mah <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.