2011-08-24 72 views

回答

1

如果您在窗口中的點的座標,你可以做[view convertPoint:location fromView:nil]。 NSView有similar methods作爲rects和大小。

+0

發現它非常感謝你的完美,我怎麼忽略了事件處理方法。祝你愉快。 – SacredGeometry