Override this member function to perform idle-time processing.
virtual BOOL OnIdle(
LONG lCount
);
Parameters
lCount
A counter incremented each time OnIdle is called when the application's message queue is empty. This count is reset to 0 each time a new message is processed. You can use the lCount parameter to determine the relative length of time the application has been idle without processing a message.