CSpinButtonCtrl::SetBuddy

This method sets the buddy window for a spin button control.

At a Glance

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

Syntax

CWnd* SetBuddy ( CWnd* pWndBuddy );

Remarks

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.

See Also

CSpinButtonCtrl::GetBuddy