} while ((focusHwnd = OS.GetParent (focusHwnd)) != 0);
focusHwnd = OS.GetParent(focusHwnd); }
public boolean isFocusControl () {	checkWidget ();	int focusHwnd = OS.GetFocus();	if (focusHwnd == handle) return (objIOleInPlaceObject == null);	if (objIOleInPlaceObject == null) return false;	int[] phwnd = new int[1];	objIOleInPlaceObject.GetWindow(phwnd);	if (phwnd[0] == 0) return false;	do {		if (phwnd[0] == focusHwnd) return true;	} while ((focusHwnd = OS.GetParent (focusHwnd)) != 0);	return false;}