From 41819270bbb7129a5568125a6b0cbfdf719680bd Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Thu, 15 Oct 2015 01:18:25 +0200 Subject: Windows: Solve lost focus for application after displaying the waiting dialog --- src/Common/Dlgcode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Common/Dlgcode.h') diff --git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h index 5d8d7e29..a7f4affd 100644 --- a/src/Common/Dlgcode.h +++ b/src/Common/Dlgcode.h @@ -568,6 +568,7 @@ inline std::wstring AppendSrcPos (const wchar_t* msg, const char* srcPos) // Display a wait dialog while calling the provided callback with the given parameter typedef void (CALLBACK* WaitThreadProc)(void* pArg, HWND hWaitDlg); +void BringToForeground(HWND hWnd); void ShowWaitDialog(HWND hwnd, BOOL bUseHwndAsParent, WaitThreadProc callback, void* pArg); #endif // __cplusplus -- cgit v1.2.3