protected override void WndProc(ref Message m)
{
switch (m.Msg)
{
case WndHelper.WM_NCHITTEST:
{
m.Result = (IntPtr)WndHelper.HTCAPTION;
return;
}
default:
break;
}
base.WndProc(ref m);
}
public const int WM_NCHITTEST = 0x84;
public const int HTCAPTION = 0x2;