示例#1
0
文件: Model.cs 项目: mrtska/SRSSC
        public RECT? GetWindowRect(POINT mouse)
        {
            RECT ret = new RECT();

            if(GetWindowRect(WindowFromPoint(mouse), out ret)) {

                return ret;
            }
            return null;
        }
示例#2
0
文件: Model.cs 项目: mrtska/SRSSC
 private static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect);