How do I go about pausing the %WM_TIMER???
All I can find is SetTimer and KillTimer, but nothing about pausing.
I have a partially working Timer that "Pauses" by killing the timer and recreating it when I am done with my paused amount of time (time unknown till runtime), but find myself in a catch 22.....of either stuck in a continuous loop, or runs fine the 1st time but only runs half-way through the second time.
I am out to demonstrate to the user how my program works, but at points where I wait for them to press a button, I need the timer to not fire until that function is complete.
Is there a pause? or do I have to set another flag to ignore the timer fired while I was off doing something else????
All I can find is SetTimer and KillTimer, but nothing about pausing.
I have a partially working Timer that "Pauses" by killing the timer and recreating it when I am done with my paused amount of time (time unknown till runtime), but find myself in a catch 22.....of either stuck in a continuous loop, or runs fine the 1st time but only runs half-way through the second time.
I am out to demonstrate to the user how my program works, but at points where I wait for them to press a button, I need the timer to not fire until that function is complete.
Is there a pause? or do I have to set another flag to ignore the timer fired while I was off doing something else????
Comment