Поделиться через


UDM_SETRANGE (Windows CE 5.0)

Send Feedback

This message sets the minimum and maximum positions, or the range, for a up-down control.

UDM_SETRANGE wParam = 0;lParam = (LPARAM)MAKELONG((short)nUpper,(short)nLower );

Parameters

  • wParam
    Not used.
  • nUpper and nLower
    Maximum position and minimum position for the up-down control. Neither position can be greater than the UD_MAXVAL value or less than the UD_MINVAL value. In addition, the difference between the two positions cannot exceed UD_MAXVAL.

Return Values

None.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

UDM_GETRANGE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.