Hello
Im doing this code for every form Ive doing (you have have seen it so I wont explain it)
protected override void WndProc(ref Message m)
{
const int WM_MOVE = 0x0003;
switch (m.Msg)
{
case WM_MOVE:
return;
default:
base.WndProc(ref m);
break;
}
}
How can I do this so I dont have to copy and paste this line over and over and over in every form? I thought of a module but then maybe a user defined form (which I have no idea how to do) which gets from the default form plus this code.
If someone could give a few tips, thanks.