The UDM_SETBUDDY message sets the buddy window for an up-down control.
UDM_SETBUDDY wParam = (WPARAM) (HWND) hwndBuddy; lParam = 0;
The return value is the handle of the previous buddy window.