Help Center

SetPos32function

Sets the position of an up-down control with 32-bit precision.

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 SetPos32 (BYVAL hUpDown AS HWND, BYVAL nPos AS LONG) AS LONG

Parameters

NameDescription
hUpDownHandle to the up-down control.
nPosVariable of type integer that specifies the new position for the up-down control. If the parameter is outside the control's specified range, nPos is set to the nearest valid value.

Return value

Returns the previous position.

Description

Sets the position of an up-down control with 32-bit precision.

Reference

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