From f119c8cead549fa2de31650760f35a49fd797564 Mon Sep 17 00:00:00 2001 From: Thai Pangsakulyanont Date: Thu, 17 Nov 2011 14:24:48 +0700 Subject: [PATCH] add Paint() to SetProgress() so that Windows does not think that the application is not responding. --- src/arch/LoadingWindow/LoadingWindow_Win32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arch/LoadingWindow/LoadingWindow_Win32.cpp b/src/arch/LoadingWindow/LoadingWindow_Win32.cpp index bbc4c05efe..ae42eae7a8 100644 --- a/src/arch/LoadingWindow/LoadingWindow_Win32.cpp +++ b/src/arch/LoadingWindow/LoadingWindow_Win32.cpp @@ -194,6 +194,7 @@ void LoadingWindow_Win32::SetProgress(const int progress) m_progress=progress; HWND hwndItem = ::GetDlgItem( hwnd, IDC_PROGRESS ); ::SendMessage(hwndItem,PBM_SETPOS,progress,0); + Paint(); } void LoadingWindow_Win32::SetTotalWork(const int totalWork)