CSpinButtonCtrl::SetBuddy

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

See Also

Concepts

CSpinButtonCtrl Class

CSpinButtonCtrl Members

Hierarchy Chart

CSpinButtonCtrl::GetBuddy