Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!know!sdd.hp.com!uakari.primate.wisc.edu!uflorida!mailer.cc.fsu.edu!sun13!gw.scri.fsu.edu!pepke From: pepke@gw.scri.fsu.edu (Eric Pepke) Newsgroups: comp.sys.mac.programmer Subject: Re: Menu command key Message-ID: <1649@sun13.scri.fsu.edu> Date: 11 Dec 90 20:39:57 GMT References: <1990Dec10.044033.19193@sbcs.sunysb.edu> Sender: news@sun13.scri.fsu.edu Distribution: usa Organization: Florida State University, but I don't speak for them Lines: 17 In article <1990Dec10.044033.19193@sbcs.sunysb.edu> mmoss@csws10.ic.sunysb.edu (Matthew D Moss) writes: > To make the DA (or any program) accept a change of Command > key, you must change the source code of the program. No you don't, at least for applications. A correct program determines whether a keypress corresponds to a menu item by calling the MenuKey routine. This routine does a search of the existing menus on the screen and returns the first item it finds with that command key equivalent. Eric Pepke INTERNET: pepke@gw.scri.fsu.edu Supercomputer Computations Research Institute MFENET: pepke@fsu Florida State University SPAN: scri::pepke Tallahassee, FL 32306-4052 BITNET: pepke@fsu Disclaimer: My employers seldom even LISTEN to my opinions. Meta-disclaimer: Any society that needs disclaimers has too many lawyers.