[issue24390] Python 3.4.3 64 bits is not "high dpi aware"

2018-12-22 Thread Cheryl Sabella
Cheryl Sabella added the comment: IDLE added a call to the Windows API in #33656. Other than that, as Amaury stated, there isn't any UI in Python, so closing this as not a bug. -- nosy: +cheryl.sabella resolution: -> not a bug stage: -> resolved status: open -> closed

[issue24390] Python 3.4.3 64 bits is not "high dpi aware"

2015-06-09 Thread Ivan Bykov
Ivan Bykov added the comment: SetProcessDpiAwareness not available for Windows 7. For Windows 7 available SetProcessDPIAware, but: Note SetProcessDPIAware is subject to a possible *race* *condition* if a DLL caches dpi settings during initialization. For this reason, it is recommended that d

[issue24390] Python 3.4.3 64 bits is not "high dpi aware"

2015-06-09 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The Python program itself has no UI and cannot be marked as "DPI aware". Instead, applications should call the win32 function "SetProcessDPIAwareness": https://msdn.microsoft.com/en-us/library/windows/desktop/dn302122 -- nosy: +amaury.forgeotdarc

[issue24390] Python 3.4.3 64 bits is not "high dpi aware"

2015-06-09 Thread Ivan Bykov
Ivan Bykov added the comment: Python 3.5.0b2 (v3.5.0b2:7a088af5615b, May 31 2015, 06:22:19) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import ctypes >>> ctypes.windll.user32.GetSystemMetrics(1) 1067 >>> #must be 1600 >>> #Python 3.5

[issue24390] Python 3.4.3 64 bits is not "high dpi aware"

2015-06-08 Thread Ivan Bykov
Ivan Bykov added the comment: https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx#declaring_dpi_awareness http://schemas.microsoft.com/SMI/2005/WindowsSettings";> true -- ___ Python tracker

[issue24390] Python 3.4.3 64 bits is not "high dpi aware"

2015-06-06 Thread Ivan Bykov
New submission from Ivan Bykov: Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> SM_CYSCREEN = 1 >>> from ctypes import windll >>> GetSystemMetrics = windll.user32.GetSystemMetrics