Closed DiXN closed 4 years ago
Can you remove the last commit since you opened a separate PR for it?
Forgot to push the commit in a new branch first. Should work now.
Perfect, thanks
@DiXN I just tested this out, and the window wasn't resizing to the correct dimensions (I am using 10px margins). I moved the Restore function to occur before I calculate the transparent border adjustment, which appeared to be the cause. Everything resizes correctly now.
This uses
ShowWindow
withSW_RESTORE
as suggested in #29.Closes #29.