Fixed return of focus to the window after closing the manual editing dialog.
This commit is contained in:
@@ -363,6 +363,7 @@ LRESULT CALLBACK KeyboardHookProc(int nCode, WPARAM wParam, LPARAM lParam)
|
|||||||
{
|
{
|
||||||
diag_log(L"Opening 'Manual editing' dialog");
|
diag_log(L"Opening 'Manual editing' dialog");
|
||||||
DialogBoxW(hInst, MAKEINTRESOURCE(IDD_MANUAL_EDITING), hWnd, (DLGPROC)DlgProc);
|
DialogBoxW(hInst, MAKEINTRESOURCE(IDD_MANUAL_EDITING), hWnd, (DLGPROC)DlgProc);
|
||||||
|
SetForegroundWindow(hFgWnd);
|
||||||
}
|
}
|
||||||
else hFgWnd = NULL;
|
else hFgWnd = NULL;
|
||||||
bKEYV = FALSE;
|
bKEYV = FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user