home *** CD-ROM | disk | FTP | other *** search
- /*
- * AutoFX.ifx.pre
- * Written by Thomas Krehbiel
- *
- * Called before AutoFX begins any processing. May be used to turn off
- * redraw or undo to speed things up a bit.
- *
- * Inputs:
- * None.
- *
- * Returns:
- * 0 if successful, non-zero on failure
- *
- */
-
- OPTIONS RESULTS
-
- GetMain
- IF rc = 0 THEN DO
- RequestResponse 'Buffer will be destroyed. Continue?'
- IF rc ~= 0 THEN EXIT rc
- END
-
- KillBuffer Force
- KillAll
- Redraw
-
- Redraw Off
- Undo Off
-
- LockInput
-
- EXIT
-