Skip to content

Latest commit

 

History

History
85 lines (65 loc) · 2.37 KB

nf-windowsx-scrollbar_setrange.md

File metadata and controls

85 lines (65 loc) · 2.37 KB
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.
ScrollBar_SetRange
ScrollBar_SetRange macro [Windows Controls]
_win32_ScrollBar_SetRange
_win32_ScrollBar_SetRange_cpp
controls.ScrollBar_SetRange
controls._win32_ScrollBar_SetRange
windowsx/ScrollBar_SetRange
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
ScrollBar_SetRange
windowsx/ScrollBar_SetRange
c++
APIRef
kbSyntax
HeaderDef
Windowsx.h
ScrollBar_SetRange

ScrollBar_SetRange macro

-description

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.
 

-parameters

-param hwndCtl

Type: HWND

A handle to the control.

-param posMin

Type: int

The minimum value of the scroll bar.

-param posMax

Type: int

The maximum value of the scroll bar.

-param fRedraw

Type: BOOL

TRUE to redraw the control; otherwise FALSE.

-remarks

For more information, see SetScrollRange.