Le 26 avr. 07 à 03:10 Matin, [EMAIL PROTECTED] a écrit: > On Apr 25, 2007, at 23:51 UTC, Peter K. Stys wrote: > >> Point is, if you put it in a thread, the user can continue doing >> other stuff, which is not what you may want before this job is done. > > In such a case, you should display a modal dialog while the job is > being done -- that's what they're for. For an Apple example, copy a > big file.
When I copy a large file, the Finder shows a window that is not dialog (both in Mac OS X and Mac OS 9). It's like a document window without close box, zoom box and resize box (I don't remember the name now). >> If you put the thread in a modal dlog, as someone pointed out, the >> thread may be halted, so no dice. > > I'm not sure what you're talking about there. A modal dialog running > (or just displayed during) a thread works perfectly well, and > indeed is > the correct design for a long process that you want to finish before > you let the user do other things. Maybe he was confused by the ShowModal method? _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
