On a call to warn(), the editor calls this routine:
bool GUIidleAndSafe(void) {
return idle_hook_called == 0 && cmQueryEditState() == 0;
}
If it returns true, the character mode msgbox is called, otherwise,
the Windows MessageBox is called.
idel_hook_called is <> 0 whenever an idle macro has been called.
int cmQueryEditState(void) {
int state = 0;
if (menu_level) state |= STATE_MENU;
if (process_in_window_level)state |= STATE_PROCESS_IN_WINDOW;
if (popn - popn_base) state |= STATE_POPWINDOW;
if (warn_level) state |= STATE_WARN;
if (twokey_level) state |= STATE_TWOKEY;
if (editor_paused) state |= STATE_EDITOR_PAUSED;
if (u.read_in_use) state |= STATE_PROMPTED;
if (otherwise_busy) state |= STATE_BUSY;
return state;
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "SemWare TSE Pro text editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
semware+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/semware/000601d9b4a5%24bec81f10%243c585d30%24%40ecarlo.nl.