You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see one enum at User32.DPI_AWARENESS, but this is both out of date and the values are incorrect. For example, DPI_AWARENESS_SYSTEM_AWARE has a value of 1 when it should be -2.
The text was updated successfully, but these errors were encountered:
I'm trying to set the DPI awareness of my application using this piece of code:
The issue is that the
DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE
enum value defined at https://learn.microsoft.com/en-us/windows/win32/hidpi/dpi-awareness-context doesn't seem to be a constant in the library. Are DPI_AWARENESS_CONTEXT enum values defined somewhere else?I see one enum at
User32.DPI_AWARENESS
, but this is both out of date and the values are incorrect. For example, DPI_AWARENESS_SYSTEM_AWARE has a value of 1 when it should be -2.The text was updated successfully, but these errors were encountered: