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: _NSGetCarbonMenu useage



Hi,

I just need to be notified when the mouse is over a menu item. This doesn't seem possible with NSMenu/NSMenuItem. So I thought about using kEventMenuTargetItem, hence the need to use Carbon menus and use _NSGetCarbonMenu. Unless I can use kEventMenuTargetItem with Cocoa?

I have to implement voice over items for our app. I know this is already offered on Tiger but we're targetting 10.2 and up.

If anyone has a way to achieve this feel free to post! ;)

Luc


On 4-May-05, at 4:52 PM, Ricky Sharp wrote:

On May 4, 2005, at 3:43 PM, Luc Vandal wrote:

Do you mean that it may not always be present? Does this depends on the OS version?

You should never use any private APIs in your code. They are, after all, private for a reason:

(a) Apple hasn't finalized the API yet. Once finalized, it may be made public. It may at that point have a different name or take different parameters.
(b) It may be removed at some point.
(c) It will remain a private API and only intended to be used by Apple.

If you find yourself absolutely needing the functionality the API provides, it may be the case where's the a better (and public) way of doing it. Or, file an enhancement request for a new public API.

--
Rick Sharp
Instant Interactive(tm)
 _______________________________________________
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: 
 >_NSGetCarbonMenu useage (From: Luc Vandal <email@hidden>)
 >Re: _NSGetCarbonMenu useage (From: Shawn Erickson <email@hidden>)
 >Re: _NSGetCarbonMenu useage (From: Luc Vandal <email@hidden>)
 >Re: _NSGetCarbonMenu useage (From: Ricky Sharp <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.