Sleep

Discussion in 'Questions (Windows Mobile)' started by alfcen, May 19, 2007.

  1. alfcen

    alfcen Well-Known Member Licensed User

    Hi Erel
    Quick'n sweet: does the new Sleep command include DoEvents?
    Thanks a lot!
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Sleep stops the main thread for a limited time.
    Unlike DoEvents it will not deal with waiting messages during that time.
    However, if other threads are running (some external libraries can use other threads as well) those threads will continue to run.
     
  3. alfcen

    alfcen Well-Known Member Licensed User

    Thanks a lot, Erel, this was helpful, indeed. :sign0098:
     
Loading...