This method sets the buddy window for a spin button control.
Header file: | Afxcmn.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CWnd* SetBuddy ( CWnd* pWndBuddy );
In Windows CE, a spin button control can only be a buddy with an edit control. The only values you can pass in the pWwndBuddy parameter to the CSpinButtonCtrl::SetBuddy method are a pointer to an edit control or NULL.