Re: _NSGetCarbonMenu useage
Re: _NSGetCarbonMenu useage
- Subject: Re: _NSGetCarbonMenu useage
- From: Luc Vandal <email@hidden>
- Date: Wed, 04 May 2005 17:56:57 -0400
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:
This email sent to email@hidden