Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!portal!cup.portal.com!ts From: ts@cup.portal.com (Tim W Smith) Newsgroups: comp.sys.mac.programmer Subject: Re: What's wrong with this ModalDialog filterproc? Message-ID: <25490@cup.portal.com> Date: 30 Dec 89 04:02:40 GMT References: <10125@saturn.ucsc.edu> Organization: The Portal System (TM) Lines: 10 I had a similar problem in Think C ( I don't use MPW ). My filters would handle the events they cared about OK, but they would not return what I expected. The problem was with the declaration. My function was declared "pascal int" rather than "pascal boolean". Try chaning that "int" in your declaration to "boolean" ( or "Boolean" or whatever typdef MPW uses... ) and see if that helps. Tim Smith