[Contents] [Index] [Help] [Retrace] [browse <] [Browse >]


NAME
    GT_FilterIMsg -- Filter an intuimessage through gadtools. (v36)

SYNOPSIS
    modimsg = GT_FilterIMsg(imsg)
    D0                      A1

    struct intuimessage *gt_filterimsg(struct intuimessage *);

FUNCTION
    NOTE WELL:  Extremely few programs will actually need this function.
    You almost certainly should be using gt_getimsg() and gt_replyimsg()
    only, and not GT_FilterIMsg() and gt_postfilterimsg().

    GT_FilterIMsg() takes the supplied intuimessage and asks the
    gadget toolkit to consider and possibly act on it.  returns
    NULL if the message was only of significance to a GadTools gadget
    (i.e. not to you), else returns a pointer to a modified IDCMP
    message, which may contain additional information.
    You should examine the Class, Code, and IAddress fields of
    the returned message to learn what happened.  Do not make
    interpretations based on the original imsg.
    You should use gt_postfilterimsg() to revert to the original
    intuimessage once you are done with the modified one.

INPUTS
    imsg - An intuimessage you obtained from a window's userport.

RESULT
    modimsg - A modified intuimessage, possibly with extra information
        from GadTools, or NULL.

EXAMPLE

NOTES

BUGS

SEE ALSO
    gt_getimsg(), gt_postfilterimsg()