InitializeFlatSB function (commctrl.h)
Initializes flat scroll bars for a particular window.
Syntax
BOOL InitializeFlatSB(
HWND unnamedParam1
);
Parameters
unnamedParam1
Type: HWND
A handle to the window that will receive flat scroll bars.
Return value
Type: BOOL
Returns nonzero if successful, or zero otherwise.
Remarks
This function must be called before any other flat scroll bar functions are called. The window will receive flat scroll bars by default. The scroll bar style can be changed with the FlatSB_SetScrollProp function.
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) |