Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help please:) - use a timer to interrupt a background thread
Message
From
20/11/2001 09:00:40
 
 
To
All
General information
Forum:
Visual C++
Category:
Microsoft Foundation Classes
Title:
Help please:) - use a timer to interrupt a background thread
Miscellaneous
Thread ID:
00583872
Message ID:
00583872
Views:
42
I need hepl with this one pleaseeee:))
"write a windows program that looks like a digital clock".
two parts:
first part: to built a simple windows program that does nothing but start a framwork from running.
second part: the way i envisage a clock functioning is that its updating should be essentially a backround process. The calculation of the system's time should occure say every 5 seconds. Then you format a string that will contain an updated time value, post it off for display, and put your program thread back to sleep. That leaves the program able to let other internal threads run.
Next
Reply
Map
View

Click here to load this message in the networking platform