Contents page

GetIntuiMessage()


    USAGE

IntuiMessage = (struct IntuiMessage*)GetIntuiMessage(Window)

FUNCTION

Returns the next IntuiMessage intended for the wondow. This routine simply saves you from having to write the same mundane piece of code with two GetMsg's, a WaitPort, and a while loop or somthing like that for every window. This only works if the window's user port has been up properly with an IDCMP flag set that is not NULL.

INPUTS

Window = Pointer to the window you are waiting on.

RESULT

IntuiMessage = IntuiMessage wich you must process and then send back to Intuition with a ReplyMsg.