Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!ames!sdcsvax!sdcc6!sdacs!wade From: wade@sdacs.ucsd.EDU (Wade S. Blomgren) Newsgroups: comp.sys.mac Subject: Re: Help with modal dialog filterProc needed Message-ID: <428@sdacs.ucsd.EDU> Date: Wed, 12-Aug-87 20:36:53 EDT Article-I.D.: sdacs.428 Posted: Wed Aug 12 20:36:53 1987 Date-Received: Sat, 15-Aug-87 05:22:28 EDT References: <427@sdacs.ucsd.EDU> Organization: UCSD Academic Computing Services Lines: 22 Summary: problem solved - thank you In article <427@sdacs.ucsd.EDU>, wade@sdacs.ucsd.EDU (That's Me) writes: [description of my problem getting a ModalDialog filterProc to return the appropriate values to simulate the return key being hit deleted] I received 2 prompt replies and the problem is solved. ------ From: chi@tybalt.caltech.edu (Curt O. Hagenlocher) ....I was experiencing the exact same problem for the longest time, until I put the word "pascal" in front of Boolean in the function header. ------ From: Gregory.Stein@K.GP.CS.CMU.EDU I think your problem is that the filter function was not declared as a Pascal function. Here would be your new declaration: pascal Boolean MyFilter(theDialog,theEvent,theItemHit) ------ Thanks for the help. Wade Blomgren, UCSD ACS (wade@sdacs.ucsd.edu or ...sdcsvax!sdacs!wade)