Example #1
0
        public static RECT FromRectangle(Rectangle rc)
        {
            RECT rcx = new RECT();
            rcx.Left = rc.Left;
            rcx.Top = rc.Top;
            rcx.Right = rc.Right;
            rcx.Bottom = rc.Bottom;

            return rcx;
        }
Example #2
0
 public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, ref RECT rect);
Example #3
0
 public static int SendMessage(IntPtr hWnd, int Msg, int wParam, ref RECT rect)
 {
     return -1;
 }