Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public static extern int SendMessage(IntPtr hwnd, int msg, int wparam, POINTS pos);