DoEvents Method
Processes events from the internal message queue.
Syntax
int DoEvents();
Remarks
When this method is called, the class processes any available events. If no events are available, it waits for a preset period of time, and then returns.