GetSelectIntuiMessage()
USAGE
IntuiMessage = GetSelectIntuiMessage(Window, Flags)
FUNCTION
Waits for an IntuiMessage event that is one of the types given by Flags and
returns it. Other precending events are read and returned.
For example:
If you wish to strip out all MOUSEMOVE events, but don't want to drop a
GADGETDOWN or MOUSEBUTTON event, call:
(*functions->GetSelectIntuiMessage)(window, GADGETDOWN | MOUSEBOTTON);
This only works if the window's user port has been set up proprly with an
IDCMP flag set that is not NULL.
INPUTS
Window = Pointer to the window you are waiting on.
Flags = Message types to accept.
RESULT
IntuiMessage
- pointer to an IntuiMessage which must process and send back to
Intuition with a ReplyMsg.
SEE ALSO
GetIntuiMessage