PtInIconID
PtInIconID
Hit test a point against indicated icon Point testPoint ; point to test Rect *iconRect ; rect in which icon was last drawn short alignment ; alignment with which icon was last drawn
Handle iconID ; resource id of icon family PtInIconID returns TRUE if testPoint is in the icon mask of the appropriate member of the icon family with resource id iconID. iconRect, alignment, and
the current GrafPort should be the same as when the icon was last drawn. It is NOT necessary to explicitly create an icon family (using NewIconSuite ,
Notes: This routine is not currently documented in MPW header files (hence, it is
not in any THINK C or THINK Pascal header file either). The information
given above comes from Macintosh Technical Note #306. This tech. note
also gives the inline glue for the call as follows:
const Rect *iconRect, short alignment, short iconID) = {0x303C, 0x060D, 0xABC9};