2011-08-24 73 views

回答

1

如果您在窗口中的点的坐标,你可以做[view convertPoint:location fromView:nil]。 NSView有similar methods作为rects和大小。

+0

发现它非常感谢你的完美,我怎么忽略了事件处理方法。祝你愉快。 – SacredGeometry