• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Menu item tag from menuref and item index?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread 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
References: 
 >Menu item tag from menuref and item index? (From: Luc Vandal <email@hidden>)

  • Prev by Date: Re: Mirrored data
  • Next by Date: Re: getting the key window from another application
  • Previous by thread: Menu item tag from menuref and item index?
  • Next by thread: What's the proper way of creating a temporary NSWindow from a Carbon window?
  • Index(es):
    • Date
    • Thread