Results 1 to 2 of 2

Thread: SetTimer How do i use it?

  1. #1

    Thread Starter
    Frenzied Member JasonLpz's Avatar
    Join Date
    Mar 2001
    Location
    Brooklyn, NY
    Posts
    1,335

    SetTimer How do i use it?

    Ok im using this code off of msdn
    Code:
    SetTimer(hwnd,IDT_TIMER1,5000,NULL);
    i have it in the wm_create thing

    is it suposed to be there because it is not working

    i used
    Code:
    #define IDT_TIMER1
    how do i make this work? Im a newbie sort of. I can make a
    application window and buttons and common control so this is
    new to me . I know alot about the other api's. But this one isnt
    helping me. Can someone please help. Thanx
    - JayWare
    Live to love. Not to Hate

    Im to busy to have a site. But I got one and still working on it.

    http://dre3k.net/

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    #define IDT_TIMER1 1
    or (better, but C++ only)
    const UINT_PTR IDT_TIMER1 = 1;
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

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