Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the buddy window for a spin button control.
CWnd* SetBuddy(
CWnd* pWndBuddy
);
Parameters
- pWndBuddy
Pointer to the new buddy window.
Return Value
A pointer to the previous buddy window.
Requirements
Header: afxcmn.h
Remarks
A spin control is almost always associated with another window, such as an edit control, that displays some content. This other window is called the "buddy" of the spin control.