Attention!
// while in Idle state let the computer calculate the next move case DN_ENTERIDLE: Timer(hDlg); return 0;