Answer the question
In order to leave comments, you need to log in
Pascal abc windows message loop how does it work?
I write in c#. I studied Pascal and noticed that there the animation is simply drawn (even in an infinite loop), and at this time the window adequately responds to resizing and movement. How it works?
Answer the question
In order to leave comments, you need to log in
Depending on where you start this cycle. If not in the interface processing thread, then it will work fine in c# as well.
Apparently in Pascal inside the infinite loop there is a message processing call, so the move and resize work. In C#, to handle messages, you can call Application.DoEvents();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question