Freigeben über


CSpinButtonCtrl::SetAccel

Sets the acceleration for a spin button control.

BOOL SetAccel(
   int nAccel,
   UDACCEL* pAccel 
);

Parameters

  • nAccel
    Number of UDACCEL structures specified by pAccel.

  • pAccel
    Pointer to an array of UDACCEL structures, which contain acceleration information. Elements should be sorted in ascending order based on the nSec member.

Return Value

Nonzero if successful; otherwise 0.

Requirements

Header: afxcmn.h

See Also

Reference

CSpinButtonCtrl Class

Hierarchy Chart

CSpinButtonCtrl::GetAccel

Other Resources

CSpinButtonCtrl Members