home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / PowerPlant / LDelayedTask / Read Me < prev    next >
Encoding:
Text File  |  1995-08-28  |  537 b   |  4 lines  |  [TEXT/ttxt]

  1. LDelayedTask
  2. by Éric Forget <forgete@vir.ca>
  3.  
  4. LDelayedTask is an abstract class to execute a task after a certain period of time. This class is not really precise: it use TickCount() as a time measure. On another side, you can do about all you want in the ExecuteSelf() method. One example of its use, is to implement a "Find" in a list or table, a la Metrowerks IDE. Each time the user press a key, you call RestartTask(). When the user will not have pressed a key for a determined period, you do the search in the ExecuteSelf() method.