DXGL r897 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r896‎ | r897 | r898 >
Date:20:03, 8 March 2019
Author:admin
Status:new
Tags:
Comment:
Remove progress popup in DXGL Config. This caused issues with dialog focus on some operating systems.
Modified paths:
  • /dxglcfg/dxglcfg.cpp (modified) (history)

Diff [purge]

Index: dxglcfg/dxglcfg.cpp
@@ -3141,8 +3141,8 @@
31423142 {
31433143 case WM_INITDIALOG:
31443144 hProgressWnd = NULL;
3145 - CreateThread(NULL, 0, ProgressThread, &hProgressWnd, 0, &threadid);
3146 - while (hProgressWnd == NULL) Sleep(10);
 3145+ /*CreateThread(NULL, 0, ProgressThread, &hProgressWnd, 0, &threadid);
 3146+ while (hProgressWnd == NULL) Sleep(10);*/
31473147 hDialog = hWnd;
31483148 ZeroMemory(&wndclass, sizeof(WNDCLASSEX));
31493149 wndclass.cbSize = sizeof(WNDCLASSEX);
@@ -3958,8 +3958,8 @@
39593959 EnableWindow(GetDlgItem(hTabs[0], IDC_DPISCALE), FALSE);
39603960 }
39613961 if(token) CloseHandle(token);
3962 - SendMessage(hProgressWnd, WM_USER+1, 0, 0);
3963 - SetForegroundWindow(hWnd);
 3962+ /*SendMessage(hProgressWnd, WM_USER+1, 0, 0);
 3963+ SetForegroundWindow(hWnd);*/
39643964 return TRUE;
39653965 case WM_MEASUREITEM:
39663966 switch(wParam)