by CR Hough (1 Submission)
Category: Miscellaneous
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating:
(2 Votes)
Never use DoEvents again. This is a standard C/C++ Message Pump. Compare each of these three methods against each other (including DoEvents) and watch your CPU usage. The code is pretty self-explanatory I think.