---
name: "GetScrollRange"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/GetScrollRange"
---

# GetScrollRange(3w)

## NAME

**GetScrollRange** (USER32.@)

## SYNOPSIS

BOOL GetScrollRange\
  (\
   HWND  *hwnd*,\
   INT   *nBar*,\
   LPINT *lpMin*,\
   LPINT *lpMax*\
  )

## DESCRIPTION

Gets the range of the scroll bar.

## PARAMS

*hwnd* **\[In\]**  Handle of window with scrollbar(s).

*nBar* **\[In\]**  One of **SB\_HORZ**, **SB\_VERT**, or **SB\_CTL**.

*lpMin* **\[Out\]**  Where to store minimum value.

*lpMax* **\[Out\]**  Where to store maximum value.

## RETURNS

**TRUE** if values is filled

## IMPLEMENTATION

Declared in **"commctrl.h"**.

Implemented in **"dlls/user32/scroll.c"**.

Debug channel **"scroll"**.
