summaryrefslogtreecommitdiff
path: root/src/burn/engine/splashscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/splashscreen.cpp')
-rw-r--r--src/burn/engine/splashscreen.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/burn/engine/splashscreen.cpp b/src/burn/engine/splashscreen.cpp
index d8618feb..b9dc9f55 100644
--- a/src/burn/engine/splashscreen.cpp
+++ b/src/burn/engine/splashscreen.cpp
@@ -221,6 +221,11 @@ LExit:
221 ::DeleteObject(splashScreenInfo.hBitmap); 221 ::DeleteObject(splashScreenInfo.hBitmap);
222 } 222 }
223 223
224 if (splashScreenInfo.hwndPrevious)
225 {
226 ::PostMessageW(splashScreenInfo.hwndPrevious, WM_CLOSE, 0, 0);
227 }
228
224 return hr; 229 return hr;
225} 230}
226 231
@@ -261,6 +266,7 @@ static LRESULT CALLBACK WndProc(
261 return 1; 266 return 1;
262 267
263 case WM_ENTERIDLE: 268 case WM_ENTERIDLE:
269 case WM_MOVING:
264 lres = ::DefWindowProcW(hWnd, uMsg, wParam, lParam); 270 lres = ::DefWindowProcW(hWnd, uMsg, wParam, lParam);
265 271
266 // We had to create our own splash screen so that Windows would automatically transfer focus from the other process's splash screen. 272 // We had to create our own splash screen so that Windows would automatically transfer focus from the other process's splash screen.