Revert "Added SetForegroundWindow() into WM_INITDIALOG"

This reverts commit 6f6ce164ee.
This commit is contained in:
2022-02-21 16:02:28 +03:00
parent 6f6ce164ee
commit c968b47baf

View File

@@ -394,7 +394,6 @@ BOOL CALLBACK DlgProc(HWND hDlg, UINT dlgmsg, WPARAM wParam, LPARAM lParam)
SetDlgItemInt(hDlg, IDC_EDIT_HEIGHT, h, FALSE);
SetDlgItemTextW(hDlg, IDC_EDIT_TITLE, szWinTitle);
SetDlgItemTextW(hDlg, IDC_EDIT_CLASS, szWinClass);
SetForegroundWindow(hDlg);
UpdateWindow(hDlg);
break;
}