We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38aa66c commit c2351dfCopy full SHA for c2351df
Source/GUI/VCL/GUI_Main.cpp
@@ -249,7 +249,7 @@ void __fastcall TMainF::GUI_Configure()
249
GetVersionEx(&osvi);
250
int DPI;
251
if (osvi.dwMajorVersion >= 10 && (osvi.dwMajorVersion > 10 || osvi.dwMinorVersion > 0 || osvi.dwBuildNumber >= 17134))
252
- DPI=GetSystemDpiForProcess(GetCurrentProcess());
+ DPI=GetDeviceCaps(GetDC(NULL), LOGPIXELSX); // GetSystemDpiForProcess(GetCurrentProcess());
253
else
254
DPI=GetDeviceCaps(GetDC(NULL), LOGPIXELSX);
255
float DPIScale=static_cast<float>(DPI)/96;
0 commit comments