Answers for "c# form formborderstyle none move"

C#
0

c# form formborderstyle none move

protected override void WndProc(ref Message m)
{
    switch(m.Msg)
    {
        case 0x84:
            base.WndProc(ref m);
            if ((int)m.Result == 0x1)
                m.Result = (IntPtr)0x2;
            return;
    }

    base.WndProc(ref m);
}
Posted by: Guest on September-05-2021

C# Answers by Framework

Browse Popular Code Answers by Language