Multiple windows per document and NSUndoManager
Multiple windows per document and NSUndoManager
- Subject: Multiple windows per document and NSUndoManager
- From: David Frampton <email@hidden>
- Date: Thu, 03 Jan 2008 11:59:05 +1300
Hi
I am developing a document-based application, which per-document has a
main window, and a panel with various controls to manipulate the
results in the main window.
My problem is that when the panel becomes key, the undo menu item
becomes grayed out. The undo mechanism only seems to work if the main
window is key.
I would love to make the panel never become key, but it contains text
fields and color wells, so needs to become key occasionally.
Any ideas what I might need to do to allow multiple windows to use the
NSDocument's undoManager?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden