Re: Menu item tag from menuref and item index?
Re: Menu item tag from menuref and item index?
- Subject: Re: Menu item tag from menuref and item index?
- From: Daniel Jalkut <email@hidden>
- Date: Fri, 6 May 2005 09:34:39 -0700
So now you're basically asking whether you can go from the Carbon
menu back to the Cocoa window that contains it?
I don't think the Carbon menu has (even in unsupported API) any
property that identifies its "cocoa wrapper."
One option which you may not have considered yet would be to switch
your app from a fundamentally Cocoa application to a "Cocoa in
Carbon" app. Your menu-bar shell could be implemented in Carbon and
all of your windows, etc., in Cocoa.
Can't you just read the text out of the menu item for your voice-over
purposes? Perhaps you can replace your use of the "tag" with
assumptions based on the text contents.
Daniel
On May 6, 2005, at 6:48 AM, Luc Vandal wrote:
Hi,
is it possible to get the tag of a menu item with a menuref and the
menu item index?
Thanks!
Luc
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com
This email sent to email@hidden
_______________________________________________
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