2010年12月15日

[C#]无边框窗体缩放的虚线框怎么实现

摘要: protected override void WndProc(ref Message m) { switch (m.Msg) { case 0xA3://拦截鼠标非客户区左键双击消息,决定窗体是否最大化显示 if (this.MaximizeBox) { base.WndProc(ref m); } return; case 0x84: base.WndProc(ref m); Point lpint = new Point((int)m.LParam); lpint.Offset(-this.Left,-this.Top); //设置可托动的区域 Rectangle Client = ne 阅读全文

posted @ 2010-12-15 15:52 LT 阅读(1238) 评论(0) 推荐(0)

导航

直角体Web动力