Re: [Leopard] Spotlight/Help-like menu item
Re: [Leopard] Spotlight/Help-like menu item
- Subject: Re: [Leopard] Spotlight/Help-like menu item
- From: Pierre Bernard <email@hidden>
- Date: Sun, 27 Jan 2008 05:46:53 +0100
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:
This email sent to email@hidden