message_hook/3
: If this predicate is defined in your program, it
must be defined as a multifile predicate.
Also, there are restrictions on how you can use message_hook/3
under QUI. In particular, error messages (terms with severity error
)
may not be seen by your message_hook/3
clauses. QUI catches
these messages and displays an error dialog.
Since it may be unpredictable whether user-supplied clauses for
message_hook/3
come before or after QUI's message_hook/3
clauses, it is also recommended that any message_hook/3
clauses you
do supply should fail. See ref-msg-umf-ipm, as well as the
reference page for message_hook/3
, for more
information.