milt@mist.cs.orst.edu (Milt Sagen) (02/14/88)
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