Home | Forums | Articles | F@H
Help | Search | Members | Calendar | Forum Map | Cybervillage | Archive
Welcome Guest ( Log In | Register | Resend Validation Email )


>  IceTeks Forums -> Technology made cool -> Programming


  Archived - No replies allowed - start new thread insteadStart new topicStart Poll

>  Creating multi timer using MFC
Track this topic | Email this topic | Print this topic
teck hui
Posted: Nov 26 2004, 03:12 AM
Quote Post

Icicle

Group Icon

Group: IceTeks Newbies
Posts: 1
Member No.: 595
Joined: 26-November 04
Ice Cubes: 0



Hi guys, i need some help in my program. I am currently creating program which require two timers. The first timer is to run every 0.3s and the second timer is to stop the first timer after 5s. How do i go about doing it? I have read the help file but i don't understand it. It will be helpful if someone would post the command that is needed.
Thanks all for the help
PMEmail Poster Top
Red Squirrel
Posted: Nov 26 2004, 04:22 PM
Quote Post

ZOMG!

Group Icon

Group: Admins
Posts: 13 964
Member No.: 1
Joined: 18-December 02
Ice Cubes: 163183



Welcome to the forum. dancingbanada.gif

You'd have to start a thread for each timer, but I havn't done MFC in a while so not sure how. But basically you'd have a loop in each thread with the apropriate sleep value.


--------------------
user posted image
http://www.redsquirrel.me my blog
http://www.uovalor.com AoS/ML Ultima Online Shard
PMEmail PosterUsers Website Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Programming | Next Newest »

Topic Options Archived - No replies allowed - start new thread insteadStart new topicStart Poll

 



[ Script Execution time: 0.0351 ]   [ 13 queries used ]   [ GZIP Enabled ]

< Home | Forums | Contact >