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