CheckEvents()
Another difference is that CheckEvents()
doesn't return any information
about the events it has removed and handled. If you need this information,
you have to use CheckEvent() instead. See CheckEvent for details.
Please note that you should use CheckEvents()
only if you really need
it. Using WaitEvent() is generally a much better idea than CheckEvents()
.