Sets the position of an up-down control with 32-bit precision.
Syntax
To send this message, call the
SendMessage
function as follows.
lResult = SendMessage( // returns LRESULT in lResult
hWndControl, // (HWND) handle to destination control
UDM_SETPOS32, // (UINT) message ID
wParam, // = 0; not used, must be zero
lParam // = (LPARAM)(INT) nPos;
);
Parameters
- wParam
-
Must be zero.
- nPos
-
Variable 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.
Message Information
| Minimum DLL Version | comctl32.dll version 5.80 or later |
|---|
| Header | commctrl.h |
|---|
| Minimum operating systems |
Windows 2000, Windows NT 4.0 with Internet Explorer 5, Windows 98, Windows 95 with Internet Explorer 5 |
|---|
See Also