if (fixScroll) OS.SendMessage (handle, OS.WM_SETREDRAW, 0, 0);
public void selectAll () {	checkWidget ();	if ((style & SWT.SINGLE) != 0) return;		int hItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_CARET, 0);	if (hItem == 0) {		hItem = OS.SendMessage (handle, OS.TVM_GETNEXTITEM, OS.TVGN_ROOT, 0);		if (hItem != 0) {			ignoreSelect = true;			OS.SendMessage (handle, OS.TVM_SELECTITEM, OS.TVGN_CARET, hItem);			ignoreSelect = false;		}	}	TVITEM tvItem = new TVITEM ();	tvItem.mask = OS.TVIF_STATE;	tvItem.state = OS.TVIS_SELECTED;	tvItem.stateMask = OS.TVIS_SELECTED;	int oldProc = OS.GetWindowLong (handle, OS.GWL_WNDPROC);	OS.SetWindowLong (handle, OS.GWL_WNDPROC, TreeProc);		for (int i=0; i<items.length; i++) {		TreeItem item = items [i];		if (item != null) {			tvItem.hItem = item.handle;			OS.SendMessage (handle, OS.TVM_SETITEM, 0, tvItem);		}	}	OS.SetWindowLong (handle, OS.GWL_WNDPROC, oldProc);}