I am trying to do CPU intensive background processing from a form based program.
I am using the WH_FOREGROUNDIDLE
to detect the idle. The hook does some processing, updates the form and waits for the hook again.
It works great until I click on some other program and then the hook stops.
If I click on the form, the idle hook begins again.
Is there a way around this? Or I am using the wrong method to accomplish my goal?