So it appears as if all window measurements are correct; however, when I do a WinGetPos for a context menu the size of the drawn context menu is wrong. To be clear, I'm talking about class #32768
Is there anything I can do to correct for this? Or perhaps a different way of getting the window dimensions?
Also I've tried using WinGetPosEx and DllCall("SetThreadDpiAwarenessContext", "ptr", -3, "ptr") and DllCall("SetThreadDpiAwarenessContext", "ptr", -4, "ptr") and none of these fixed it.
changed Windows scaling and now WinGetPos is wrong
Re: changed Windows scaling and now WinGetPos is wrong
Seriously no ideas? I tried manually scaling the dimensions to an inverse ratio proportional to the DPI increase I made in windows and it worked for MOST context menus; however, many are still wrong but now in the other direction, meaning the dimensions reported are too SMALL in stead of too large.