예제 #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;
        }
예제 #2
0
 public static extern int SendMessage(IntPtr hWnd, int Msg, int wParam, ref RECT rect);
예제 #3
0
 public static int SendMessage(IntPtr hWnd, int Msg, int wParam, ref RECT rect)
 {
     return -1;
 }