Possible Duplicate:
Resize WinForm, with no border?
I want my WinForm application to NOT have any border. But still I want to be able to move the application using mouse, resize the application.
How can I achieve this?
I have gone through some blogs and questions on the Stackoverflow which talk about applying various themes to the WinForm by overriding WndProc
method of the Windows Form
class. E.g. http://customerborderform.codeplex.com/
Note that I don't want to apply various skins or themes. I just want to make border disappear (or make thickness of the border as small as possible, as if there is just thin border around the main client area of the form). Please note that I do NOT want the title bar at all.
I am using .NET 4.0.