Поделиться через


CSpinButtonCtrl::SetAccel

Sets the acceleration for a spin button control.

BOOL SetAccel(
   int nAccel,
   UDACCEL* pAccel 
);

Параметры

  • 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.

Возвращаемое значение

Nonzero if successful; otherwise 0.

Требования

Header: afxcmn.h

См. также

Основные понятия

CSpinButtonCtrl Class

CSpinButtonCtrl Members

Hierarchy Chart

CSpinButtonCtrl::GetAccel