UDM_SETPOS

This message sets the current position for an up-down control.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

UDM_SETPOS wParam = 0;
lParam = (LPARAM)MAKELONG((short)nPos,0);

Parameters

nPos

New position for the up-down control. This parameter must be in the range specified by the upper and lower limits for the control.

Return Values

The previous position indicates success.

See Also

UDM_GETPOS