* The SWT.Modify event is after the widget has been
* The SWT.Modify event is sent after the widget has been
LRESULT wmNotifyChild(int wParam, int lParam) {	NMHDR hdr = new NMHDR ();	OS.MoveMemory (hdr, lParam, NMHDR.sizeof);	switch (hdr.code) {		case OS.UDN_DELTAPOS:			NMUPDOWN lpnmud = new NMUPDOWN ();			OS.MoveMemory (lpnmud, lParam, NMUPDOWN.sizeof);			int value = lpnmud.iPos + lpnmud.iDelta;			int [] max = new int [1], min = new int [1];			OS.SendMessage (hwndUpDown , OS.UDM_GETRANGE32, min, max);			if ((style & SWT.WRAP) != 0) {				if (value < min [0]) value = max [0];				if (value > max [0]) value = min [0];			}			/*			* The SWT.Modify event is after the widget has been			* updated with the new state.  Rather than allowing			* the default updown window proc to set the value			* when the user clicks on the updown control, set			* the value explicity and stop the window proc			* from running.			*/			value = Math.min (Math.max (min [0], value), max [0]);			setSelection (value, true);			return LRESULT.ONE;	}	return super.wmNotifyChild (wParam, lParam);}