I needed to make a window smaller than the OS minimum, I decided to remove the OS controls and that didnt work (Im still not going to use the system window controls), I would like a solution thats compatble with the OS window controls but I only need the one for no OS window controls. Im kind of new to .Net so please explain how to use this.
Share
You could try using the user32 function SetWindowPos to chane the size of the window at the ctor or on load and also set the form’s property FormBorderStyle to None.
I’ve sized the form to 10, 10 and it works like a charm.
The only problem with that is that you would have to implement Minimize, Maximize and Exit buttons (which makes sense, since the standart system buttons wouldn’t fit in a tiny window.