Application.ProcessMessages does not work correctly?

Issue #102 resolved
Zoltan Karpati created an issue

If you run the attached simple demo program under Linux64, you must move the mouse on the demo form to finish the 'For loop'.

Comments (8)

  1. Zoltan Karpati reporter

    It works much more better than the base version, but I can't imagine how it works internally. If I change the loop value from 100 to 1000 (for example) and run the test program, if I move the mouse on the Form fast, the for loop works faster than I do nothing.

  2. Eugene Kryukov repo owner

    Yes, if some events happened system process it and it can takes some time. It is normal behaviour.

  3. Zoltan Karpati reporter

    If I do nothing on the Form (I don't create a system event) it works slower than I am moving the mouse intensively. I don't understand it.

  4. Eugene Kryukov repo owner

    Yes, we did. But why ProcessMessage should work in the same interval ? We call system APIs.

  5. Zoltan Karpati reporter

    I ported my software updater application under Linux. It has a progressbar that shows information about the full downloaded bytes. If I start the program and I am moving the mouse intensively on the form it works at least 5 times faster than I do nothing on the Form (understand: I don't create a system event) .

  6. Log in to comment