in reply to Need to determine state of mousepointer
If you are trying to determine the state of some process, then the mouse pointer is not the way to do it. Can you communicate with the process? Is there some other completion indicator?