Important: The information in this document is obsolete and should not be used for new development.
GXIgnoreGraphicsWarning
You can use theGXIgnoreGraphicsWarningfunction to ignore warnings.
void GXIgnoreGraphicsWarning(gxGraphicsWarning warning);
warning- The warning number or warning name to ignore.
DESCRIPTION
TheGXIgnoreGraphicsWarningfunction adds the warning to be ignored to the ignore warning stack. The posting of warnings is suppressed for all warnings on the ignore warning stack. Warnings may be removed from the ignore warnings stack by the use of theGXPopGraphicsWarningfunction.You may use any Quickdraw GX warning numbers and warning names or, if you have installed an application-defined warning handler, you may use your own warning numbers and warning names, as long as they use a numbering system different than that provided by QuickDraw GX.
SPECIAL CONSIDERATIONS
TheGXIgnoreGraphicsWarningfunction saves warning numbers in a warning stack of limited size, so that a limited number of warnings can be ignored at one time. If theGXIgnoreGraphicsWarningfunction has been called too many times with no matching calls to theGXPopGraphicsWarningfunction, subsequent calls to theGXIgnoreGraphicsWarningfunction do not cause the warning to be ignored and awarning_stack_overflowwarning is posted.ERRORS, WARNINGS, AND NOTICES
Warnings warning_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 non-debugging warnings that may be posted are listed in the section "Warnings" beginning on page 3-10. Debugging warnings are listed in the section "Warnings" beginning on page 3-10.
The
GXPopGraphicsWarningfunction is described in the next section.