拦截双击标题栏、移动窗体的系统消息

protected override void WndProc(ref Message m)
        {
            //拦截双击标题栏、移动窗体的系统消息  
            if (m.Msg != 0xA3 && m.Msg != 0x0003 && m.WParam != (IntPtr)0xF012)
            {
                base.WndProc(ref m);
            }
        }

if 语句可替换成下面的十进制显示html

if (m.Msg != 163 && m.Msg != 3 && m.WParam !=  (IntPtr)61548)ide

 

 

出处:https://zhidao.baidu.com/question/1116109957871462059.htmlspa

相关文章
相关标签/搜索