OS.SendMessage (handle, OS.TVM_SETINSERTMARK, 0, 0);
if (clearInsert) OS.SendMessage (handle, OS.TVM_SETINSERTMARK, 0, 0); clearInsert = false;
void show(int effect, int x, int y) {	effect = checkEffect(effect);	int handle = tree.handle;	Point coordinates = new Point(x, y);	coordinates = tree.toControl(coordinates);	TVHITTESTINFO lpht = new TVHITTESTINFO ();	lpht.x = coordinates.x;	lpht.y = coordinates.y;	OS.SendMessage (handle, OS.TVM_HITTEST, 0, lpht);	int hItem = lpht.hItem;	if ((effect & DND.FEEDBACK_SCROLL) == 0) {		scrollBeginTime = 0;		scrollIndex = -1;	} else {		if (hItem != -1 && scrollIndex == hItem && scrollBeginTime != 0) {			if (System.currentTimeMillis() >= scrollBeginTime) {				int topItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_FIRSTVISIBLE, 0);				int nextItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, hItem == topItem ? OS.TVGN_PREVIOUSVISIBLE : OS.TVGN_NEXTVISIBLE, hItem);				OS.SendMessage (handle, OS.TVM_ENSUREVISIBLE, 0, nextItem);				scrollBeginTime = 0;				scrollIndex = -1;			}		} else {			scrollBeginTime = System.currentTimeMillis() + SCROLL_HYSTERESIS;			scrollIndex = hItem;		}	}	if ((effect & DND.FEEDBACK_EXPAND) == 0) {		expandBeginTime = 0;		expandIndex = -1;	} else {		if (hItem != -1 && expandIndex == hItem && expandBeginTime != 0) {			if (System.currentTimeMillis() >= expandBeginTime) {				OS.SendMessage (handle, OS.TVM_EXPAND, OS.TVE_EXPAND, hItem);				expandBeginTime = 0;				expandIndex = -1;			}		} else {			expandBeginTime = System.currentTimeMillis() + EXPAND_HYSTERESIS;			expandIndex = hItem;		}	}	if (dropIndex != -1 && (dropIndex != hItem || (effect & DND.FEEDBACK_SELECT) == 0)) {		TVITEM tvItem = new TVITEM ();		tvItem.hItem = dropIndex;		tvItem.mask = OS.TVIF_STATE;		tvItem.stateMask = OS.TVIS_DROPHILITED;		tvItem.state = 0;		OS.SendMessage (handle, OS.TVM_SETITEM, 0, tvItem);		dropIndex = -1;	}	if (hItem != -1 && hItem != dropIndex && (effect & DND.FEEDBACK_SELECT) != 0) {		TVITEM tvItem = new TVITEM ();		tvItem.hItem = hItem;		tvItem.mask = OS.TVIF_STATE;		tvItem.stateMask = OS.TVIS_DROPHILITED;		tvItem.state = OS.TVIS_DROPHILITED;		OS.SendMessage (handle, OS.TVM_SETITEM, 0, tvItem);		dropIndex = hItem;	}	if ((effect & DND.FEEDBACK_INSERT_BEFORE) != 0 || (effect & DND.FEEDBACK_INSERT_AFTER) != 0) {		boolean before = (effect & DND.FEEDBACK_INSERT_BEFORE) != 0;		OS.SendMessage (handle, OS.TVM_SETINSERTMARK, (before) ? 0 : 1, hItem);	} else {		OS.SendMessage (handle, OS.TVM_SETINSERTMARK, 0, 0);	}	return;}