CompuServe Messages

#IDCMP Events

#: 117529 S12/Modula-2Forum unknown
    05-Apr-88 08:21:33
Sb: #117438-#IDCMP Events
Fm: Art Steinmetz 76044,3204
To: Vic Wagner 76046,3004

This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.

> If you're waiting on an Intuition port, then you'll be getting > IntuiMessages. Not necessarily, it seems. When I declare the Pointer as a MessagePtr (from Ports) I can't access fields in the IntuiMessage structure. The compiler flags an error – as you would expect. Simply changing the pointer TYPE to IntuiMessagePtr fixes this. Conversely, as a MessagePtr TYPE I can access fields of the Message structure in Ports. I did not have to change the port from UserPort^ in either case. — Art