Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - setidleaction() set/removes the fivewin background process http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SetIdleAction()    Set/removes the FiveWin background process
--------------------------------------------------------------------------------

   Syntax:              SetIdleAction( [ bIdleAction ] )  --> nil


   Parameters:

   <bIdleAction>    Is the codeblock to execute during idle periods.
                    If no codeblock is provided, SetIdleAction() resets
                    the current bIdleAction, so it stops the previous
                    defined idle codeblock.

   Returns:             nil


   Observations:        It is very important that you don't process large
                    routines here or you will freeze the whole system.
                    Processes may be really, really fast !!!

                    Don't confuse idle periods with timers. Idle periods
                    are those during there are no pending messages to
                    process. As soon as the application starts processing
                    messages, all idle actions get stopped.

   Sample:              See TestIdle.prg                                                .

   Source code:         Not available.


See Also: Timers TestIdle.prg

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson