UDM_SETPOS  13W3BVJ 

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

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 return value is the previous position.