I
I
Ivan Bogatov2017-03-12 18:31:56
C++ / C#
Ivan Bogatov, 2017-03-12 18:31:56

MFC C++ How to use a timer (dialog based)?

For a long time there was work on this topic at the university, and now I again needed this technology. But but stupidity, I did not save my already handed over work in the first or second year. Like, I already passed, why do I need them. I need a timer, I don't remember how to implement it. You can prompt simply in the style of "insert this code." I remember that before it can be used, it must be included in one of the files: either in the same place where you are transferred to describe events (for example, double-clicking on a form element) before describing the event itself, or in some other file. And then you can use the timer. Tell me, pliz, lines of code and the second file that needs to be used. In fact, I just need to do some operations on the tick of the timer.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maaGames, 2017-03-12
@maaGames

SetTimer
KillTimer
MSDN has examples of usage.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question