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

# UninitializeFlatSB(3w)

## NAME

**UninitializeFlatSB** (COMCTL32.@)

## SYNOPSIS

HRESULT UninitializeFlatSB\
  (\
   HWND *hwnd*\
  )

## DESCRIPTION

Uninitializes flat scroll bars for the specified window.

## RETURNS

**E\_FAIL** if one of the scroll bars is currently in use **S\_FALSE** if **[InitializeFlatSB(3w)](/InitializeFlatSB/3w.md)** was never called on this *hwnd* **S\_OK** otherwise.

## NOTES

Removes any subclassing on the specified window so that regular scroll bars are drawn and used.

## IMPLEMENTATION

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

Implemented in **"dlls/comctl32/flatsb.c"**.

Debug channel **"commctrl"**.
