Hi, thanks for your reply, this is a really strange behaviour.
When you say On Timer, do you mean call:
SetTimer(hwnd, idTimer, 2000, (TIMERPROC) NULL);
and then catch it in the main Switch for case WM_TIMER,
If so where would you put the call to: SetTimer()?
Just before the 'on exit' code...