home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!sun-barr!cs.utexas.edu!wupost!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!resnick
- From: resnick@cogsci.uiuc.edu (Pete Resnick)
- Subject: Re: Popup menus (help!!)
- References: <1992Aug31.173244.1282@sagpd1>
- Message-ID: <BtvFoB.L5J@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Mon, 31 Aug 1992 23:24:09 GMT
- Keywords: popup
- Lines: 23
-
- bberqu@sagpd1 () writes:
-
- >I have three popup menus within a dialog box and am trying to figure out
- >the best way to handle them, I know system 7 has support for them, but
- >I would like my application to work with earlier versions of the OS also.
-
- Suggestion 1: use the pop-up menu CDEF included with the System 6
- Communications Toolbox for pre-System 7 machines.
-
- >It seems like all I should have to do to handle popup menus is when
- >ModalDialog detects an event within the dialog it should pass the
- >information to my filterProc function. If I know where the event happened
- >and the dialog pointer I could call FindControl which would return me the
- >control....
-
- More likely, you want to call FindDItem, not FindControl.
-
- pr
- --
- Pete Resnick (...so what is a mojo, and why would one be rising?)
- Graduate assistant - Philosophy Department, Gregory Hall, UIUC
- System manager - Cognitive Science Group, Beckman Institute, UIUC
- Internet: resnick@cogsci.uiuc.edu
-