Thread: Displaying time

  1. #1
    Registered User
    Join Date
    Sep 2004
    Posts
    31

    Displaying time

    I'm trying to display the time in a static control. But I need a good way to keep it updating without using peekmessage or something where I use up all the cpu time.

  2. #2
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Use the SetTimer function.

  3. #3
    Registered User
    Join Date
    Sep 2004
    Posts
    31
    Champion, thanks mate.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to get current time
    By tsubasa in forum C Programming
    Replies: 3
    Last Post: 05-01-2009, 02:03 AM
  2. Displaying time in a dynamic fashion..how?
    By wakish in forum C++ Programming
    Replies: 11
    Last Post: 07-06-2006, 02:52 PM
  3. displaying date and time
    By AmazingRando in forum C Programming
    Replies: 2
    Last Post: 09-08-2003, 11:47 AM
  4. Is this really true or it's just science fiction?
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 145
    Last Post: 04-09-2002, 06:17 PM
  5. time class
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-11-2001, 10:12 PM