Call this member function to set the buddy window for a spin button control.
CWnd* SetBuddy ( CWnd* pWndBuddy );
Header File | Afxcmn.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
In Windows CE, spin button controls can only be "buddies" with edit controls. The only values you can pass in the pWwndBuddy parameter to the CSpinButtonCtrl::SetBuddy member function are a pointer to an edit control or NULL.
CSpinButtonCtrl Overview, CSpinButtonCtrl Member Functions, Control Classes, CSpinButtonCtrl::GetBuddy