Skip to content

Latest commit

 

History

History
79 lines (62 loc) · 2.29 KB

nf-windowsx-scrollbar_getrange.md

File metadata and controls

79 lines (62 loc) · 2.29 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_GetRange
ScrollBar_GetRange macro (windowsx.h)
Gets the range of a scroll bar.
ScrollBar_GetRange
ScrollBar_GetRange macro [Windows Controls]
_win32_ScrollBar_GetRange
_win32_ScrollBar_GetRange_cpp
controls.ScrollBar_GetRange
controls._win32_ScrollBar_GetRange
windowsx/ScrollBar_GetRange
controls\ScrollBar_GetRange.htm
Controls
VS|Controls|~\controls\scrollbars\scrollbarreference\scrollbarmacros\scrollbar_getrange.htm
12/05/2018
ScrollBar_GetRange, ScrollBar_GetRange macro [Windows Controls], _win32_ScrollBar_GetRange, _win32_ScrollBar_GetRange_cpp, controls.ScrollBar_GetRange, controls._win32_ScrollBar_GetRange, windowsx/ScrollBar_GetRange
windowsx.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
ScrollBar_GetRange
windowsx/ScrollBar_GetRange
c++
APIRef
kbSyntax
HeaderDef
Windowsx.h
ScrollBar_GetRange

ScrollBar_GetRange macro

-description

Gets the range of a scroll bar.

Note  This macro expands to a call to the GetScrollRange function, which is deprecated. New applications should use the GetScrollInfo function.
 

-parameters

-param hwndCtl

Type: HWND

A handle to the control.

-param lpposMin

Type: int*

Address of a variable that receives the minimum value of the scroll bar.

-param lpposMax

Type: int*

Address of a variable that receives the maximum value of the scroll bar.

-remarks

For more information, see GetScrollRange.