• 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: Show/Hide Toolbar Menu Item in Document-based application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Show/Hide Toolbar Menu Item in Document-based application


  • Subject: Re: Show/Hide Toolbar Menu Item in Document-based application
  • From: Andrew Madsen <email@hidden>
  • Date: Wed, 5 Jul 2006 00:05:03 -0600

Thanks for the link. I had already read through that, but it seems that the stuff described in that document is only for enabling/ disabling menu items. I want to switch one menu item between reading "Show Toolbar" and "Hide Toolbar".

-Andrew

On Jul 4, 2006, at 10:51 PM, mmalc crawford wrote:


On Jul 4, 2006, at 9:46 PM, Andrew Madsen wrote:

I've connected Show/Hide Toolbar and Customize Toolbar menu items in the View menu to these actions via FirstResponder and they work fine. The only problem is, I can't figure out how to get the Show/ Hide Toolbar item to switch between Show Toolbar and Hide Toolbar based on the current state of the frontmost document's toolbar.

<http://developer.apple.com/documentation/Cocoa/Conceptual/MenuList/ Tasks/EnablingMenuItems.html>


mmalc


_______________________________________________ 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
  • Follow-Ups:
    • Re: Show/Hide Toolbar Menu Item in Document-based application
      • From: mmalc crawford <email@hidden>
References: 
 >Show/Hide Toolbar Menu Item in Document-based application (From: Andrew Madsen <email@hidden>)
 >Re: Show/Hide Toolbar Menu Item in Document-based application (From: mmalc crawford <email@hidden>)

  • Prev by Date: Re: Re: First Responder and menus
  • Next by Date: Re: First Responder and menus
  • Previous by thread: Re: Show/Hide Toolbar Menu Item in Document-based application
  • Next by thread: Re: Show/Hide Toolbar Menu Item in Document-based application
  • Index(es):
    • Date
    • Thread