Borderless Window Covers Taskbar
问题 I have a custom-made borderless window. When maximized, it covers the taskbar. This is not what I want. I have played with the WM_GETMINMAXINFO message. But, I have found that Windows 10 will then leave an extra 8-pixel gap along both the bottom and right side. It is an all-or-nothing proposition. Here is the first code that I tried: case WM_GETMINMAXINFO: PMINMAXINFO pmm; pmm = (PMINMAXINFO)lParam; pmm->ptMaxSize.x = GetSystemMetrics(SM_CXSCREEN); pmm->ptMaxSize.y = GetSystemMetrics(SM