Article View: comp.sys.mac
Article #25068DA copy via cmd-C
From: Milt Sagen
Date: Sun, 14 Feb 1988 09:23
Date: Sun, 14 Feb 1988 09:23
22 lines
1398 bytes
1398 bytes
When a user issues a cmdKey equivalent of copy (paste) for a desk accessory, does the DA get a parameter block csCode equal to accCopy (accPaste)? The DA I'm writing will respond to copy and paste commands when the user selects them with the mouse. However, when a command key equivalent is issued I must interrupt a keyDown event in order to respond correctly. I had expected to receive an accCopy or accPaste. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Was I incorrect about my assumption, or is there something I should have done to inform the system, Desk Manager or whatever, that the DA can handle key equivalents for the Edit menu commands? I'm writing the DA in Lightspeed C so the drvrEMask includes keyDown events (otherwise I would not be able to respond to such events). Thanks, Milt Sagen milt%orstph.UUCP@orstcs.CS.ORST.EDU Grad. Student Department of Physics Oregon State University Corvallis, OR. 97331
Technical Details
Message-ID:
<2657@orstcs.CS.ORST.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!orstcs!mist!miltReferences:
<6975@agate.BERKELEY.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!orstcs!mist!milt From: milt@mist.cs.orst.edu (Milt Sagen) Newsgroups: comp.sys.mac Subject: DA copy via cmd-C Message-ID: <2657@orstcs.CS.ORST.EDU> Date: 14 Feb 88 09:23:04 GMT References: <6975@agate.BERKELEY.EDU> Sender: netnews@orstcs.CS.ORST.EDU Reply-To: milt@mist.UUCP (Milt Sagen) Organization: Oregon State Universtiy - CS - Corvallis, Oregon Lines: 22