How do I put a control on the non-client area of a form?
Can a component be painted onto the non-client area? (Bounds)
Can a component be painted onto the non-client area? (Bounds)
protected override void WndProc(ref Message m) { if (m.Msg == 0x83) { Point point = new Point(m.LParam.ToInt32()); m.Result = new IntPtr(-1); return; } Graphics g = Graphics.FromHwnd(Handle); g.DrawString("String", new Font("Lucida Console", 10f), new SolidBrush(Color.Black), PointF.Empty); base.WndProc(ref m); }
Comment