Skip to content

Fixes all invisible borders in Windows 10#136

Open
RamonUnch wants to merge 4 commits intostefansundin:masterfrom
RamonUnch:RamonUnch-Fixes-all-invisible-borders
Open

Fixes all invisible borders in Windows 10#136
RamonUnch wants to merge 4 commits intostefansundin:masterfrom
RamonUnch:RamonUnch-Fixes-all-invisible-borders

Conversation

@RamonUnch
Copy link
Copy Markdown

@RamonUnch RamonUnch commented May 13, 2021

add the DwmGetWindowAttribute_dyn to dynamically import the DwmGetWindowAttribute function from dwm.dll
Add the GetVisibleWindowRect function.
Add the GetInvisibleBorders function.
Adjust the Aero-snap, doubleckick-snap, MoveSnap, ResizeSnap, EnumWindowsProc,
Avoid snapping to cloaked windows (DWMWA_CLOAKED attribute)

Fixes: #38

RamonUnch added 4 commits May 13, 2021 09:14
add the DwmGetWindowAttribute_dyn to dynamically import the DwmGetWindowAttribute function from dwm.dll
Add the GetVisibleWindowRect function.
Add the GetInvisibleBorders function.
Adjust the Aero-snap, doubleckick-snap, MoveSnap, ResizeSnap, EnumWindowsProc,
Create IsWindowCloaked(hwnd) funcion and apply it where IsWindowVisible is used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows 10 window borders

1 participant