if (OS.GetIndexedSubControl(parentControlHandle, (short)(1), outControl) == 0) OS.EmbedControl(outControl[0], parentControlHandle); else throw new SWTError();
if (OS.GetIndexedSubControl(parentControlHandle, (short)(pos+1), outControl) == 0) if (OS.EmbedControl(outControl[0], parentControlHandle) != OS.kNoErr) System.out.println("MacUtil.embedControl: couldn't move control to end");
	public static void embedControl(int controlHandle, int parentControlHandle) {		if (REVERSE) {			int count= countSubControls(parentControlHandle);			OS.EmbedControl(controlHandle, parentControlHandle);			int[] outControl= new int[1];			for (int i= 0; i < count; i++) {				if (OS.GetIndexedSubControl(parentControlHandle, (short)(1), outControl) == 0)					OS.EmbedControl(outControl[0], parentControlHandle);				else					throw new SWTError();			}		} else {			OS.EmbedControl(controlHandle, parentControlHandle);		}	}