FlatSB_EnableScrollBar function (commctrl.h)
Enables or disables one or both flat scroll bar direction buttons. If flat scroll bars are not initialized for the window, this function calls the standard EnableScrollBar function.
Syntax
BOOL FlatSB_EnableScrollBar(
HWND unnamedParam1,
int unnamedParam2,
UINT unnamedParam3
);
Parameters
unnamedParam1
Type: HWND
A handle to the window that contains the flat scroll bar. This window handle must have been passed previously in a call to InitializeFlatSB.
unnamedParam2
Type: int
A parameter that specifies the scroll bar type. It can be one of the following values:
unnamedParam3
Type: UINT
A parameter that specifies whether the scroll bar arrows are enabled or disabled and indicates which arrows are enabled or disabled. It can be one of the following values:
Return value
Type: BOOL
Returns nonzero if the scroll bar changes, or zero otherwise.
Remarks
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) |