As some of you have noticed, I'm new to winprogramming
My aim is to create a program that would send messages to some other program, without user interference, with specified delays.
Currently my program grabs nearly all CPU while computing, hardly letting other programs do anything.I need to slow him down so that other progs could keep up.

Another thing I need to do is to make him go idle for say, 1 minute, then continue doing things. Again, I have no clue what possibilities there are. I've tried searching of course but it's like shooting in the dark :s.

Thanks.