UDM_SETPOS

This 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 previous position indicates success.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

UDM_GETPOS

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.