Help with timer 8-J
-
I am making a timer program but I want it to stop at a certain number like 300. I made it so it counted but the timer wouldn't stop at a certain number i.e. 300. [It is possible to represent everything in this universe by using 0 and 1] I was born intelligent Education ruined me!. An idea is useless until it has been implemented.
-
I am making a timer program but I want it to stop at a certain number like 300. I made it so it counted but the timer wouldn't stop at a certain number i.e. 300. [It is possible to represent everything in this universe by using 0 and 1] I was born intelligent Education ruined me!. An idea is useless until it has been implemented.
-
if(m_iCount == '300') { KillTimer(ID_TIMER); m_cStart.EnableWindow(TRUE); }
I have this in my Start button but I just realized that, that place is not a very good choice (YAY). But I still don't know were to put it..... [It is possible to represent everything in this universe by using 0 and 1] I was born intelligent Education ruined me!. An idea is useless until it has been implemented. -
if(m_iCount == '300') { KillTimer(ID_TIMER); m_cStart.EnableWindow(TRUE); }
I have this in my Start button but I just realized that, that place is not a very good choice (YAY). But I still don't know were to put it..... [It is possible to represent everything in this universe by using 0 and 1] I was born intelligent Education ruined me!. An idea is useless until it has been implemented.I figured this out :laugh: see I had to include this in the wm_timer function or the OnTimer function, and had to change the statement to:
if(m_iCount == 300) { KillTimer(ID_TIMER); m_cStart.EnableWindow(TRUE); }
[It is possible to represent everything in this universe by using 0 and 1] I was born intelligent Education ruined me!. An idea is useless until it has been implemented. -
if(m_iCount == '300') { KillTimer(ID_TIMER); m_cStart.EnableWindow(TRUE); }
I have this in my Start button but I just realized that, that place is not a very good choice (YAY). But I still don't know were to put it..... [It is possible to represent everything in this universe by using 0 and 1] I was born intelligent Education ruined me!. An idea is useless until it has been implemented.