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

# ShowScrollBar(3w)

## NAME

**ShowScrollBar** (USER32.@)

## SYNOPSIS

BOOL ShowScrollBar\
  (\
   HWND *hwnd*,\
   INT  *nBar*,\
   BOOL *fShow*\
  )

## DESCRIPTION

Shows or hides the scroll bar.

## PARAMS

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

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

*fShow* **\[In\]**  **TRUE** = show, **FALSE** = hide.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"scroll"**.
