diff options
Diffstat (limited to 'updater/progress_dialog.cpp')
-rw-r--r-- | updater/progress_dialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/updater/progress_dialog.cpp b/updater/progress_dialog.cpp index bdcb922..886ba76 100644 --- a/updater/progress_dialog.cpp +++ b/updater/progress_dialog.cpp @@ -20,8 +20,8 @@ BOOL CALLBACK DlgProcProgress(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar // these change icons for all system dialogs!
//SetClassLong(hwndDlg, GCL_HICON, (LONG)hIconCheck);
//SetClassLong(hwndDlg, GCL_HICONSM, (LONG)hIconCheck);
- SendMessage(hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM)hIconCheck);
- SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)hIconCheck);
+ SendMessage(hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM)LoadIconEx(I_CHKUPD));
+ SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)LoadIconEx(I_CHKUPD));
SAVEWINDOWPOS swp;
swp.hwnd=hwndDlg; swp.hContact=0; swp.szModule=MODULE; swp.szNamePrefix="ProgressWindow";
@@ -73,6 +73,8 @@ BOOL CALLBACK DlgProcProgress(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar case WM_DESTROY:
KillTimer(hwndDlg, ID_PROGTIMER);
Utils_SaveWindowPosition(hwndDlg,0,MODULE,"ProgressWindow");
+ ReleaseIconEx((HICON)SendMessage(hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM)0));
+ ReleaseIconEx((HICON)SendMessage(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)0));
break;
}
return FALSE;
|