Important: The information in this document is obsolete and should not be used for new development.
GXIgnoreGraphicsNotice
You can use theGXIgnoreGraphicsNotice
function to ignore QuickDraw GX notices that may occur when specific parts of your application execute.
void GXIgnoreGraphicsNotice(gxGraphicsNotice notice);
notice
- The graphics notice number or name to ignore.
DESCRIPTION
TheGXIgnoreGraphicsNotice
function adds the notice to be ignored to the ignore notice stack. The posting of notices is suppressed for all notices on the ignore notice stack. Notices may be removed from the ignore notice stack by the use of theGXPopGraphicsNotice
function.You may use any QuickDraw GX notice numbers and notice names or, if you have installed an application-defined notice handler, you may use your own notice numbers and notice names, as long as they use a numbering system different than that provided by QuickDraw GX.
This function has no effect in non-debugging versions
SPECIAL CONSIDERATIONS
TheGXIgnoreGraphicsNotice
function saves notice numbers in a warning stack of limited size. If theGXIgnoreGraphicsNotice
function has been called too many times with no matching calls to theGXPopGraphicsNotice
function, subsequent calls to theGXIgnoreGraphicsNotice
function do not cause the notice to be ignored and anotice_stack_overflow
warning is be posted.ERRORS, WARNINGS, AND NOTICES
Warnings notice_stack_overflow SEE ALSO
The use of this function is described in the section "Ignoring Warnings and Notices" beginning on page 3-36.QuickDraw GX notices that may be posted are listed in the section "Notices" beginning on page 3-27.
The
GXPopGraphicsNotice
function is described in the next section.