Share via


CSpinButtonCtrl::SetAccel

BOOLSetAccel(intnAccel**,UDACCEL*pAccel);**

Return Value

Nonzero if successful; otherwise 0.

Parameters

nAccel

Number of 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.

Remarks

Call this function to set the acceleration for a spin button control.

CSpinButtonCtrl OverviewClass MembersHierarchy Chart

See Also   CSpinButtonCtrl::GetAccel