I currently have a function to toggle a window maximized and remove the handles and border.
AddToFunc ToggleMaximized + C ThisWindow (!Maximized) WindowStyle HandleWidth 0 + C ThisWindow (!Maximized) RecaptureWindow + C Maximize + C ThisWindow (!Maximized) WindowStyle HandleWidth 7
It is a bit naff and uses the deprecated RecaptureWindow function. Without it when it maximizes and removes the border, there is a gap left between the window and the screen edge where the border would have taken up.
Is there a better way?