VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Dlgcode.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2015-10-15 01:18:25 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2015-10-15 01:36:15 +0200
commit41819270bbb7129a5568125a6b0cbfdf719680bd (patch)
treee47c9b527b2b0e89fbfe4f38045f8d67aff3e038 /src/Common/Dlgcode.h
parent8342d0d616a8340bc358b19146f1b2d8cdf41af8 (diff)
downloadVeraCrypt-41819270bbb7129a5568125a6b0cbfdf719680bd.tar.gz
VeraCrypt-41819270bbb7129a5568125a6b0cbfdf719680bd.zip
Windows: Solve lost focus for application after displaying the waiting dialog
Diffstat (limited to 'src/Common/Dlgcode.h')
-rw-r--r--src/Common/Dlgcode.h1
1 files changed, 1 insertions, 0 deletions
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