The UDM_SETPOS message sets the current position for an up-down control.
UDM_SETPOS wParam = 0; lParam = (LPARAM) MAKELONG((short) nPos, 0);
The return value is the previous position.