UninitializeFlatSB function

Uninitializes flat scroll bars for a particular window. The specified window will revert to standard scroll bars.

Syntax

HRESULT UninitializeFlatSB(
  HWND Arg1
);

Parameters

Arg1

Type: HWND

A handle to the window with the flat scroll bars that will be uninitialized.

Return Value

Type: HRESULT

Returns one of the following values.

Return code Description
E_FAIL
One of the window's scroll bars is currently in use. The operation cannot be completed at this time.
S_FALSE
The window does not have flat scroll bars initialized.
S_OK
The operation was successful.

Remarks

Note  Flat scroll bar functions are implemented in Comctl32.dll versions 4.71 through 5.82. Comctl32.dll versions 6.00 and higher do not support flat scroll bars.
 

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h
Library Comctl32.lib
DLL Comctl32.dll (version 4.71 or later)