stopwatch in visual c++
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7

Thread: stopwatch in visual c++

  1. #1
    Join Date
    Sep 2011
    Posts
    3

    stopwatch in visual c++

    Iím looking for stopwatch code in visual C++ since Visual C++ express can be downloaded free from what Iíve heard.
    Or freeware that does what I want: start/stop button, option to display the elapsed time with seconds hidden Ė if I were doing it myself, I would just take the seconds and microseconds display out. And no time displayed otherwise.
    I have Windows 7 64-bit
    Anybody know of such code?
    Thanks
    Laura

  2. #2
    Join Date
    Nov 2003
    Location
    Belgium
    Posts
    8,060

    Re: stopwatch in visual c++

    There are lots of freeware utils for this.
    Just try to Bing it.

  3. #3
    Join Date
    Jul 2002
    Posts
    2,494

    Re: stopwatch in visual c++

    Quote Originally Posted by Marc G View Post
    Just try to Bing it.
    Trying to Google what is Bing

  4. #4
    Join Date
    Sep 2004
    Location
    Holland (land of the dope)
    Posts
    4,123

    Re: stopwatch in visual c++

    Quote Originally Posted by Marc G View Post
    Whow... never seen that before

  5. #5
    Join Date
    Sep 2011
    Posts
    3

    Re: stopwatch in visual c++

    I want it to do its stopwatching in a particular way, so I'm modifying and compiling it myself.
    I downloaded some visual c++ stopwatch code.
    But it does something funny. It shows the standard window that you would have if you ran a program. Then in the center of the screen it places the stopwatch display, not movable.
    What I need is to have the program open a window that IS the stopwatch. How can I do this?
    The source code I downloaded is at http://msdn.microsoft.com/en-us/libr...%29.aspx#Y1043
    thanks
    Laura

  6. #6
    Join Date
    Sep 2011
    Posts
    3

    Re: stopwatch in visual c++

    ps I compiled it on the command line, not wanting to mess with the whole project and solution thing. Maybe that's the problem?
    I just downloaded visual c++ and don't know anything about it ...
    Laura

  7. #7
    Join Date
    Sep 2011
    Posts
    3

    Re: stopwatch in visual c++

    I did it! I made my cute little stopwatch widget
    Laura

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center