Newbie UndoManager question
Newbie UndoManager question
- Subject: Newbie UndoManager question
- From: "E. Wing" <email@hidden>
- Date: Wed, 22 Sep 2004 17:02:15 -0700
I need to build an application with multiple windows. I've looked at
the multiple Window example in
/Developer/Examples. I would like to know, how do I set up Undo for
multiple windows? I have the Cocoa Programming book by Hillegass.
Following that book, I am able to setup undo for a single window. But
when I tried extending the idea to two windows, I am unable to undo
anything in the second window (the menu is greyed out). Only when the
first window is in focus is when I can select undo from the menu, but
it actually doesn't do anything.
To start with, I have two windows. The first is just a launcher that
opens a second window. The second window has a NSTableView which I
want to apply undo to. Ultimately, I would like to add more stuff to
the first window which will also need undo. And I may want a 3rd
window at some point in the future.
Can anybody fill me in on what I need to do, or point me to some
example code that does this?
Thank you
_______________________________________________
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