GXGetGraphicsNotice
You can use theGXGetGraphicsNoticefunction to obtain the first and last notices posted.
gxGraphicsNotice GXGetGraphicsNotice (gxGraphicsNotice *stickyNotice);
stickyNotice- On return, a pointer to the first notice posted.
- function result
- The last notice posted.
DESCRIPTION
TheGXGetGraphicsNoticefunction returns the last notice posted, or 0 if none. ThestickyNoticeparameter, if notnil, receives the first notice posted since the last call to theGXGetGraphicsNoticefunction.SPECIAL CONSIDERATIONS
QuickDraw GX clears thestickyNoticeargument at the end of every call to theGXGetGraphicsNoticefunction. It always returns 0 on non-debugging versions.SEE ALSO
The use of this function is described in the section"Obtaining Errors, Warnings, and Notices" beginning on page 3-30.An alternative method of posting notices is to include an application-defined notice handler. This topic is described in the section "Changing the Error, Warning, or Notice Posted" beginning on page 3-34.
The
GXSetUserGraphicsNoticefunction that is used to install the notice handler is described on page 3-66.