Exemple #1
0
        public void DecorationMouseUp(HitTestValues hit, Point p)
        {
            NativeMethods.ReleaseCapture();
            var pt = new POINTS {
                X = (short)p.X, Y = (short)p.Y
            };

            NativeMethods.SendMessage(Handle, (int)WindowMessages.WM_NCLBUTTONUP, (int)hit, pt);
        }
Exemple #2
0
 public static extern int PostMessage(IntPtr hwnd, int msg, int wparam, POINTS pos);
Exemple #3
0
 public void DecorationMouseUp(HitTestValues hit, Point p)
 {
   NativeMethods.ReleaseCapture();
   var pt = new POINTS { X = (short)p.X, Y = (short)p.Y };
   NativeMethods.SendMessage(Handle, (int)WindowMessages.WM_NCLBUTTONUP, (int)hit, pt);
 }
Exemple #4
0
 public static extern int PostMessage(IntPtr hwnd, int msg, int wparam, POINTS pos);