Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: Problem with Menu Events Keywords: Menu Events Message-ID: <14113@cbmvax.commodore.com> Date: 30 Aug 90 20:06:46 GMT References: <906@augean.ua.OZ.AU> Reply-To: ken@cbmvax (Ken Farinsky - CATS) Organization: Commodore, West Chester, PA Lines: 18 In article <906@augean.ua.OZ.AU> e4ajwake@augean.ua.OZ.AU (Wakefield) writes: >Dear Gurus, (or similar) > >The problem: > >The address field of the message structure is alays ZERO!!! > > while(message = (struct IntuiMessage *)GetMsg(MyWindow1->UserPort)) > { > address = message->IAddress; No. Use ItemAddress() to get the address of the MenuItem. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky