Closed GreenLightning closed 8 years ago
This doesn't work properly on my laptop. I think I had run into this same issue when I was trying to solve this problem. On my 1920x1080 desktop, this worked properly.
On my 1366x768 laptop, this causes the border and caption to be invisible, but existent. All mouse input is offset by the amount of the invisible caption bar, and I have to drag the window around by its invisible caption bar, and even resizing occurs on that invisible boundary (as seen in the picture above).
I captured the screenshot using the built-in Steps Recorder on Windows 10, and it also highlights the boundary of the window automatically in green.
So yeah, this doesn't work as intended. Gotta love the Windows API, eh?
Closing for now, because I don't have an environment where I can test this.
As I mentioned in issue #11 this fix is based on this question on stackoverflow.
(I tested it on Windows 10.)