CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: timer

  1. #1
    Guest

    timer

    How to use a timer inside a timer function?

    I need to use a timer inside an OnTimer function.

    I want to temporize a 20 mSec. delay to allow data arrive from a serial port.




  2. #2
    Join Date
    May 1999
    Posts
    17

    Re: timer

    #define IDT_TIMER1 200

    ...

    SetTimer( IDT_TIMER1, 100, NULL ) //1000 ms.

    ...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured