This message sets the buddy window for an up-down control.
At a Glance
Header file: | Commctrl.h |
Windows CE versions: | 1.0 and later |
Syntax
UDM_SETBUDDY wParam = (WPARAM)(HWND) hwndBuddy; lParam = 0;
Parameters
hwndBuddy
Handle to the new buddy window.
Return Values
The handle to the previous buddy window indicates success.
Remarks
If hwndBuddy is not NULL, it must specify an edit control because up/down controls can only be buddied with edit controls.
See Also