int port= OS.GetWindowPort(wHandle); OS.QDLocalToGlobalPoint(port, mp);
Rect bounds= new Rect(); OS.GetWindowBounds(wHandle, (short)OS.kWindowContentRgn, bounds); mp.h+= bounds.left; mp.v+= bounds.top;
	static org.eclipse.swt.graphics.Point toDisplay(int cHandle, org.eclipse.swt.graphics.Point point) {		int wHandle= OS.GetControlOwner(cHandle);		// convert from control to window coordinates		CGPoint p= new CGPoint();		p.x= point.x;		p.y= point.y;		OS.HIViewConvertPoint(p, cHandle, getContentView(wHandle));		Point mp= new Point();		OS.SetPt(mp, (short)p.x, (short)p.y);		// convert from window to screen coordinates		int port= OS.GetWindowPort(wHandle);		OS.QDLocalToGlobalPoint(port, mp);		return new org.eclipse.swt.graphics.Point(mp.h, mp.v);	}