>   in some cases, you dont have a system event to process, so you
>   use a programmed event (timeout based) to ensure something is
>   executed periodically.. this is the nilEvent.. it has no
>   association..
>
>   you will use the nilEvent in animations.. that is, if you
>   want to move an object on the screen - but dont have a real
>   event to process.. :>

Note also that nilEvents are generated when EvtGetEvent is called with a 
timeout value other than 'forever'. This allows you to set the time for 
which you will wait to see if something needs doing before going off to do 
the next frame of your animation.

This technique can also be used to keep up with the user when doing some 
long process (eg. comms) using the progress manager interface.



--
                (o_      Ben Williams      _o)
                //\   [EMAIL PROTECTED]   /\\
                V_/_                      _\_V

Reply via email to