Set the WS_THICKFRAME | WS_CAPTION property to restore the window border and title, so that the window can receive the WM_NCHITTEST message. Then remove the border and title in the WM_NCCALCSIZE ...
A borderless window with Qt - Modern Gui. Contribute to Moussa-Ball/BorderlessWindowQt-Modern-Gui development by creating an account on GitHub.