CSpinButtonCtrl::SetBuddy

Call this member function to set the buddy window for a spin button control.

Syntax

CWnd* SetBuddy ( CWnd* pWndBuddy );

At a Glance

Header File Afxcmn.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

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.

See Also

CSpinButtonCtrl Overview, CSpinButtonCtrl Member Functions, Control Classes, CSpinButtonCtrl::GetBuddy