UninitializeFlatSB function (commctrl.h)
Uninitializes flat scroll bars for a particular window. The specified window will revert to standard scroll bars.
Syntax
HRESULT UninitializeFlatSB(
HWND unnamedParam1
);
Parameters
unnamedParam1
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 |
---|---|
|
One of the window's scroll bars is currently in use. The operation cannot be completed at this time. |
|
The window does not have flat scroll bars initialized. |
|
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
Requirement | Value |
---|---|
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) |