🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #5089

Re: Problem with Menu Events

#5089
From: Ken Farinsky - CATS
Date: Thu, 30 Aug 1990 20:06
18 lines
943 bytes
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
Technical Details
Message-ID: <14113@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!cbmvax!ken
References: <906@augean.ua.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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