win32 timer function

This is a discussion on win32 timer function within the Windows Programming forums, part of the Platform Specific Boards category; hi can any one tell me the usage of Timer functions??? thanks....

  1. #1
    Just a Human Anuradh_a's Avatar
    Join Date
    Jan 2008
    Posts
    50

    win32 timer function

    hi
    can any one tell me the usage of Timer functions???
    thanks.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Yes, but it may be better if you either:
    1. Specify more precisely what you want to know.
    2. Look at MSDN's Timer documentation: http://msdn2.microsoft.com/en-us/lib...8VS.85%29.aspx

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    Code:
    TimerId = SetTimer(hwnd, 1 , 33 , NULL);
    


    sets the timer to send a WM_TIMER message to your application every 33 milliseconds.

    That shjoudl get you started, anythign more you need ot refer to MSDN

    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 09:28 AM
  2. Replies: 28
    Last Post: 07-17-2006, 12:35 AM
  3. Bisection Method function value at root incorrect
    By mr_glass in forum C Programming
    Replies: 3
    Last Post: 11-10-2005, 09:10 AM
  4. c++ linking problem for x11
    By kron in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2004, 10:18 AM
  5. Replies: 5
    Last Post: 02-08-2003, 07:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21