Checks whether the given font handle is legal and represents a handle of a font.
If the handle is not a legal font handle then a popup window will pop out (only if popup_title!=NULL).
This function is used mainly for debugging (similar to the C++ function assert() )
Return value: YES or NO.
Arguments:
font_handle: The handle of the font to be examined.
popup_title: The title of the popup that will pop-out in case the given handle does not represent
a legal font handle. If popup_title==NULL then there wont be any popup
The best is to give the function name so if you get the error you know
what function should be fixed.
|