You've ignored the shadow of the window. In win10, you will use DwmGetWindowAttribute + DWMWA_EXTENDED_FRAME_BOUNDS in GetWindowRectangle ...
確定! 回上一頁