Path: 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 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