Open 0ric1 opened 4 years ago
What version of Windows did you test on? Does it happen also with both monitors having 100% or both 150% scaling settings? If you have Microsoft Spy++, could you check if the sizegrip is still where it's supposed to be? The dialog window should have a Scrollbar child window in its sizing corner. Is this window in the correct position and not showing anything, or is it outside the client area of the parent dialog window?
I am on Windows 10 1803 Prof. DE, using Visual Studio 2019 16.2.3 with PlatformToolset v142 and Windows SDK Version 10.0.18362.0. Spy++ did not find the window when moved over the grip, but it does appear in the Windows list as ScrollBar but when using Highlight it does not highlight it. It seems to be in the correct position, because it does appear partially when switching the SizeGrip modus between Visible and Hidden and chaning the Theme Properties.
Not sure if the Scrollbar control has the correct position and size... it seems not. Could you capture a screenshot of the Spy++ properties window relative to the scrollbar (where rect coord are shown)?
Could you show me the Rect coordinates of both the Scrollbar child window and the parent dialog window?
It seems the sizegrip is not where it should be: for example, the rightmost coordinate is -879, while the dialog rightmost coordinate is -854. That's an offset of 25px horizontally (and 27px vertically), that seems too much to account only for the window border.
Anyway, like I said the library is not "DPI aware" so anything weird can happen.
moving the dialog (resizablelib\ResizableDialog) demo application from a monitor (main) with 150% scaling to a monitor (secondary) with 100% scaling and the demo application has "Per Monitor High DPI Aware V2" enabled. The application is started from 150% monitor. With the setting "No theme" is is partly visible.
Used Manifest: