Article View: comp.os.ms-windows.programmer.tools.owl
Article #4Re: Need help creating simple clock prgm in windows.
From: drf
Date: Thu, 28 Sep 1995 05:43
Date: Thu, 28 Sep 1995 05:43
26 lines
1491 bytes
1491 bytes
In article <44b5s2$132@news.csus.edu>, wleong@sfsu.edu ("2 Wise"-King) wrote:
>
>I need to write a windows program that will display time. I have thought
>about the problem, I don't think I should be using time, or clock or
>biostime since I'll be polling the CPU all the time.
>
>I think what I need is the windows to automatically acknowledge the
>program after every 1 minute so the program can increment the time
>only after 1 min, instead of keeps checking the time every clock tick.
>
>And I don't still don't know a lot about windows progamming. So, your
>reply is greatly appreciated. Don't need to write the program for me,
>just tell me what class/function I should be aware of that provide
>such routine.
>
>Once again, thanx.
>
wleong:
Hey.. thats easy.. just set up a timer call back to kick you over
every minute. Check into the TWindow:SetTimer function.. and
follow the links. (I am assumin you are using OWL of course :)
Never give up!
David Foringer
dveous@primenet.com
dforinge@space.honeywell.com
Technical Details
Message-ID:
<44dclr$f47@nnrp3.news.primenet.com>Path:
arc1-ca.pugleaf.net!nntpdist.primenet.com!primenetReferences:
<44b5s2$132@news.csus.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!nntpdist.primenet.com!primenet From: dveous@primenet.com (drf) Newsgroups: comp.os.ms-windows.programmer.tools.owl,comp.lang.c++ Subject: Re: Need help creating simple clock prgm in windows. Date: 28 Sep 1995 05:43:23 GMT Organization: Primenet Message-ID: <44dclr$f47@nnrp3.news.primenet.com> References: <44b5s2$132@news.csus.edu> NNTP-Posting-Host: ip16-122.phx.primenet.com X-Newsreader: News Xpress Version 1.0 Beta #4