Use valid timer ID for SetTimer.

svn path=/trunk/; revision=17029
This commit is contained in:
Filip Navara
2005-08-03 19:34:29 +00:00
parent f1cc84e27c
commit 1bbf906bf4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -241,7 +241,7 @@ RestartDlgProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_INITDIALOG:
SendDlgItemMessage(hWnd, IDC_RESTART_PROGRESS, PBM_SETRANGE, 0,
MAKELPARAM(0, 300));
SetTimer(hWnd, 0, 50, NULL);
SetTimer(hWnd, 1, 50, NULL);
return TRUE;
case WM_TIMER:
+1 -1
View File
@@ -1301,7 +1301,7 @@ ProcessPageDlgProc(HWND hwndDlg,
SendDlgItemMessage(hwndDlg, IDC_PROCESSPROGRESS, PBM_SETRANGE, 0,
MAKELPARAM(0, 300));
SetTimer(hwndDlg, 0, 50, NULL);
SetTimer(hwndDlg, 1, 50, NULL);
break;
case PSN_WIZNEXT: