home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.apple2
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!udel!sbcs.sunysb.edu!jsimmons
- From: jsimmons@cs.sunysb.edu (Jason Simmons)
- Subject: Re: Patching the menu manager
- Message-ID: <1992Dec19.145235.2447@sbcs.sunysb.edu>
- Sender: usenet@sbcs.sunysb.edu (Usenet poster)
- Nntp-Posting-Host: sblapis2gw
- Organization: State University of New York, Stony Brook
- References: <BzD8FB.FJE@CAM.ORG> <mattd-161292192238@city-lights.apple.com> <BzGv1o.1zC@CAM.ORG>
- Date: Sat, 19 Dec 1992 14:52:35 GMT
- Lines: 28
-
- In article <BzGv1o.1zC@CAM.ORG> vandry@CAM.ORG (Phillip Vandry) writes:
- >mattd@apple.com (Matt Deatherage) writes:
- >
- >>In article <BzD8FB.FJE@CAM.ORG>, vandry@CAM.ORG (Phillip Vandry) wrote:
- >>> For a program I am writing I need to patch the MenuSelect call in the Menu
- >>> Manager.
- >>
- >>As was stated in an earlier post by me, you may just _think_ you need to
- >>patch MenuSelect to do what you want to do.
- >>
- >>So tell us what it is you want to do, and maybe we can tell you how to do
- >>it in a way that will be finished before Dick Clark ages.
- >>
- >
- >Okay. I want to write some sort of accessory (either an Init or an NDA) so
- >menus can be accessed without using the mouse, in a manner similar to
- >MicroSoft's (on the IBM) or ProTerm (but on the desktop).
- >
-
- One alternative might be a patch to SystemEvent, which processes events
- and reports whether they were handled by a DA or should be sent to the
- application. The patch should look at the event record information
- passed to SystemEvent and determine if it wants to handle that event
- or pass it on. If the event has the appropriate type, perform your
- action and return TRUE (signifying the event was processed by a DA).
- Otherwise, call the real SystemEvent.
-
- Jason Simmons
-