Subj : About JS_SuspendRequest To : netscape.public.mozilla.jseng From : Jun Kim Date : Tue Dec 07 2004 07:47 am hi. ama-grammer(amatuer programmer, 'cuz I sure am not a PRO) again. :) I'm trying to implement alert() function. But the platform does not provide modal dialog. (in mobile platform) So I can't simply create a dialog and do "doModal()". since it's modaless, it returns right after creating and opening a dialog, so I can't seem to hold the script running. I need someway to halt the script, and continue later on from where it stopped. I found an API JS_SuspendRequest. Is this the one that I need? If it is, how can I compile the source with JS_THREADSAFE defined? I can't get it to complie even in Windows MSVC with it defined. I ask too many questions... sorry. :) .