[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Selecting a menu item
- Subject: Selecting a menu item
- From: jsimmons@cs.sunysb.edu (Jason Simmons)
- Date: 5 May 1993 21:01:17 GMT
- Distribution: world
- Newsgroups: comp.sys.apple2
- Organization: State University of New York, Stony Brook
In a similar vein to Henrik's question, does anyone know of a simple way to
tell an application (besides the Finder) that one of its menu items has
been selected? I was thinking of patching MenuSelect and posting a mouseDown
event in the menu bar. The application would presumably call the patched
MenuSelect, which would return the item number of the appropriate menu
option. Would this method function properly, and is there a better way
of doing this?
Jason Simmons
jsimmons@sbcs.sunysb.edu