Programming Guide



sm_fquiet_err

Displays an error message preceded by a constant tag

void sm_fquiet_err(int msg_num, char *message);

msg_num
A Panther message number. If you supply a string value for message, Panther ignores this parameter.

message
The message to display on the status line. To use the msg_num-specified message, set this parameter to NULL.

Description

sm_fquiet_err is identical to sm_ferr_reset except that it prepends a tag—for example, ERROR:—to the specified message. sm_fquiet_err gets the tag from the SM_ERROR entry in the message file. In GUIs, the SM_ERROR text is also preceded by the stop icon.

For more information on options available for this function, refer to sm_ferr_reset.

See Also

sm_femsg, sm_ferr_reset, sm_fqui_msg