Important: The information in this document is obsolete and should not be used for new development.
GXPostGraphicsNoticeYou can use the
GXPostGraphicsNoticefunction to post your own notices from inside your application.
void GXPostGraphicsNotice(gxGraphicsNotice notice);
- The notice to be posted.
GXPostGraphicsNoticefunction replaces the QuickDraw GX notice about to be posted with a notice message defined by the
You may use the QuickDraw GX notices or define your own notice number and notice name. This function stores the posted notice so that subsequent calls to the
GXGetGraphicsNoticefunction return the notice substituted by this function.
If the notice to be posted is in the ignore notice stack, the notice is not posted and execution continues. Ignoring notices is discussed in the section "Ignoring Warnings and Notices" beginning on page 3-36.
If an application-defined notice handler is provided, the notice is passed to the handler.
GXIgnoreGraphicsNoticefunction has no effect in the non-debugging version.
SPECIAL CONSIDERATIONSThe notice number must be within the range defined by QuickDraw GX. This range is bounded by notice numbers -25999 through -25500 or is in an application range.
SEE ALSOThe use of this function is described in the section "Changing the Error, Warning, or Notice Posted" beginning on page 3-34.
Notice handlers are discussed in the section "Installing an Error, Warning, or Notice Handler" beginning on page 3-38.