Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!ULKYVX.BITNET!DFJOHN01 From: DFJOHN01@ULKYVX.BITNET (GMAIL_FLAG_PERSONAL_NAME) Newsgroups: comp.sys.mac.programmer Subject: How to implement COMMAND-SHIFT-MENUKEY in menus Message-ID: <8905211943.AA01770@jade.berkeley.edu> Date: 21 May 89 19:36:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of Louisville Lines: 16 After becoming familiar with a Macintosh program, many users begin to rely heavily on command key equivalents. In order for the programmer to offer logically associated command keys, such as "B" for bold, or "B" for send to back, several applications have utilized a SHIFT option for assigning the same equivalent to more than one menu item. So, the question is, how do these programs do it? How do they show the SHIFT symbol in the menu bar? How do they trap for a COMMAND-SHIFT-MENUKEY in order to process the correct menu selection? Any example code showing this nifty enhancement would be greatly appreciated. Thanks in advance. David F. Johnson dfjohn01@ulkyvx