[C#]
I created a form without the title bar, like this: http://puu.sh/4421C.jpg.
That's my code:
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.Style &= ~0xc00000;
return cp;
}
}
However, users can still drag around the form to resize it. How can I disable it, not just by code, but not even show the mouse that they can resize it? Thanks!