Beispiel #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);
        }
Beispiel #2
0
 public static extern int PostMessage(IntPtr hwnd, int msg, int wparam, POINTS pos);