Share via


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

Reference

CSpinButtonCtrl Class

Hierarchy Chart

CSpinButtonCtrl::GetBuddy

Other Resources

CSpinButtonCtrl Members