i have a window with 2 edit boxes. i want when i put value to the first edit box to start the counter and when i click on the second edit box to stop the timer.

thank you and sorry for my english.

Recommended Answers

All 3 Replies

If you are uisng win32 api timer event function SetTimer() to start the timer then you can use KillTimer() to stop it.

I've tried to use setTimer and killTimer and it didn't work. I want to create a countdown counter shown in a button. Maybe this is the reason why these commands don't work in this specific occassion.

Thank you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.