UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:windowsx.ScrollBar_SetRange |
ScrollBar_SetRange macro (windowsx.h) |
Sets the range of a scroll bar. |
|
controls\ScrollBar_SetRange.htm |
Controls |
VS|Controls|~\controls\scrollbars\scrollbarreference\scrollbarmacros\scrollbar_setrange.htm |
12/05/2018 |
ScrollBar_SetRange, ScrollBar_SetRange macro [Windows Controls], _win32_ScrollBar_SetRange, _win32_ScrollBar_SetRange_cpp, controls.ScrollBar_SetRange, controls._win32_ScrollBar_SetRange, windowsx/ScrollBar_SetRange |
windowsx.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
Sets the range of a scroll bar.
Note This macro expands to a call to the SetScrollRange function, which is deprecated. New applications should use the SetScrollInfo function.
Type: HWND
A handle to the control.
Type: int
The minimum value of the scroll bar.
Type: int
The maximum value of the scroll bar.
Type: BOOL
TRUE to redraw the control; otherwise FALSE.
For more information, see SetScrollRange.