[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cut-and-paste in modal dialogs
- To: info-mcl
- Subject: Re: cut-and-paste in modal dialogs
- From: ksand@apple.com (Kent Sandvik)
- Date: 7 Oct 92 02:38:45 GMT
- Followup-to: comp.lang.lisp.mcl
- Newsgroups: comp.lang.lisp.mcl
- Organization: Apple
- References: <9209231520.AA18341@cambridge.apple.com>
- Sender: news@gallant.apple.com
In article <9209231520.AA18341@cambridge.apple.com>,
straz@cambridge.apple.com (Steve Strassmann) wrote:
>How can I get standard editing functions (cut, copy, and paste) to work in a
>modal dialog? The function modal-dialog seems to disable all the menus and
>prevent me from editing my editable-text-dialog-items using command keys.
Actually, the new System 7 menu-disabling with modal windows should
enable the Edit menu by default. I was actually looking into this problem
today (DTS question). The System 7 way is to check for the WindowRecord
spareFlag field, if it's enabled, then the patches to the ProcessManager
(and a couple of other places) will dim the Apple SICN and the rightmost
switch SICN, but leave the Edit menu and menu entries enabled.
Now, depending on the framework, such as MacApp or MCL, this behavior
is eventually re-defined. For instance the framework handles the
spareFlag field itself for signalling a modal mode with a plain window
instead of letting for instance the Dialog Manager enable/disable
this field.
Cheers,
Kent/DTS
-------------------
Kent Sandvik (UUCP: ....!apple!ksand; INTERNET: ksand@apple.com)
DISCLAIMER: Private activities on the Net.