Design question: undo-safe "Processing..." sheets
Design question: undo-safe "Processing..." sheets
- Subject: Design question: undo-safe "Processing..." sheets
- From: Kaspar Fischer <email@hidden>
- Date: Thu, 23 Feb 2006 10:57:26 +0100
Hi all,
My app needs to do a lengthy task and shows a sheet
"Processing..." with a NSProgressIndicator using NSApp's
-beginSheet:modalForWindow:modalDelegate:didEndSelector:
contextInfo: method.
I have run into two problems with this approach:
(1) During the time the sheet is visible, the user
can still perform undo/redo. In my case, this is
bad as the task that is being performed may be
based on actions done before -- so if the user
undos them, the task might crash! So: how can
I prevent the user from performing undo/redo?
Should I manually disable the "Undo"/"Redo" menu
items?
(2) My app has more than one window per document. So
when the sheet is visible, the user should not be
able to do anything in any other windows of the
document (but she may work in other documents, of
course). How can I accomplish this? Should I show
in each of these windows a sheet "Processing..."
as well?
With respect to both points it seems that I am missing
something... Any help is very much appreciated!
Thanks,
Kaspar
_______________________________________________
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