• 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: Undo Mysteries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undo Mysteries


  • Subject: Re: Undo Mysteries
  • From: Tim Hart <email@hidden>
  • Date: Tue, 15 Jun 2004 15:45:10 -0600

Not enough information here to completely answer your question.

NSWindow will forward messages it can't handle to it's delegate. If you've registered a delegate to your NSWindow, that could be one possibility.

Text fields also have their own undo manager, and may be involved in handling the message. You'd really need to provide a bit more information regarding the controls in the window, and information on the window's delegate ( if one is set ), before your question can be completely answered.


On Tuesday, June 15, 2004, at 02:48PM, Gerriet M. Denkmann <email@hidden> wrote:

>I have a (non-document based) application with undo.
>Everything works, but I do not understand why.
>
>The Undo menu item sends undo: to the first responder.
>[ NSApp targetForAction: @selector(undo:) ] returns NSWIndow.
>But NSWIndow does not have a undo: method in its header file.
>
>So: who is really responding to this message?
>
>Gerriet.
>_______________________________________________
>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.


  • Follow-Ups:
    • Re: Undo Mysteries
      • From: James DiPalma <email@hidden>
  • Prev by Date: DVDPlayback framework
  • Next by Date: Re: option-click hides apps
  • Previous by thread: Undo Mysteries
  • Next by thread: Re: Undo Mysteries
  • Index(es):
    • Date
    • Thread