Help Center

SetAccelfunction

Sets the acceleration for an up-down control.

WindowsfunctionCUpDown.incdoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION SetAccel (BYVAL hUpDown AS HWND, BYVAL cAccels AS DWORD, BYVAL pAccels AS UDACCEL PTR) AS BOOLEAN

Parameters

NameDescription
hUpDownHandle to the up-down control.
cAccelsNumber of UDACCEL structures specified by aAccels..
pAccelsPointer to an array of UDACCEL structures that contain acceleration information. Elements should be sorted in ascending order based on the nSec member.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Sets the acceleration for an up-down control.

Reference

  • Include file CUpDown.inc
  • Documented in Windows/WIndows Controls/CUpDown Class.md
  • Topic: CUpDown control