• 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: CustomizeToolbar and First Responder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CustomizeToolbar and First Responder


  • Subject: Re: CustomizeToolbar and First Responder
  • From: Glen Simmons <email@hidden>
  • Date: Thu, 22 May 2003 21:34:23 -0500

I think the way Mail.app gets around this is to have the NSOutlineView in the drawer refuse firstResponder. If it never becomes firstResponder, it doesn't get in the way of the menu item.

HTH,
Glen

On Thursday, May 22, 2003, at 09:18 PM, Renaud Boisjoly wrote:

Hi all

I cannot figure this one out.

I'm using an NSToolbar and I have the View menu with its Customize Toolbar and Show/Hide Toolbar items working correctly.

The only thing is, my window also has a drawer with an nsoutlineview on the side (much like Mail.app). When I click in the outlineview, the menu items mentioned above stay enabled... but selecting them does nothing.

Their actions are linked to the FirstResponder as they should, but they do not get disabled, or they are not called when selected for some reason. In Mail.app, they stay enabled, but at least they call the Customization Sheet properly.

This is a Document-based app, and I have searched the archives of this list for clues, but although I can find other similar situations, no solution seems to make a difference.

Thanks for helping me !

Renaud
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >CustomizeToolbar and First Responder (From: Renaud Boisjoly <email@hidden>)

  • Prev by Date: CustomizeToolbar and First Responder
  • Next by Date: Re: a Drawer's parent
  • Previous by thread: CustomizeToolbar and First Responder
  • Next by thread: Re: Using DO from daemon
  • Index(es):
    • Date
    • Thread