Skip to content

Latest commit

 

History

History
121 lines (98 loc) · 3.53 KB

nf-commctrl-flatsb_showscrollbar.md

File metadata and controls

121 lines (98 loc) · 3.53 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:commctrl.FlatSB_ShowScrollBar
FlatSB_ShowScrollBar function (commctrl.h)
Shows or hides a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard ShowScrollBar function.
FlatSB_ShowScrollBar
FlatSB_ShowScrollBar function [Windows Controls]
SB_BOTH
SB_HORZ
SB_VERT
_win32_FlatSB_ShowScrollBar
_win32_FlatSB_ShowScrollBar_cpp
commctrl/FlatSB_ShowScrollBar
controls.FlatSB_ShowScrollBar
controls._win32_FlatSB_ShowScrollBar
controls\FlatSB_ShowScrollBar.htm
Controls
VS|Controls|~\controls\flatsb\functions\flatsb_showscrollbar.htm
12/05/2018
FlatSB_ShowScrollBar, FlatSB_ShowScrollBar function [Windows Controls], SB_BOTH, SB_HORZ, SB_VERT, _win32_FlatSB_ShowScrollBar, _win32_FlatSB_ShowScrollBar_cpp, commctrl/FlatSB_ShowScrollBar, controls.FlatSB_ShowScrollBar, controls._win32_FlatSB_ShowScrollBar
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Comctl32.lib
Comctl32.dll (version 4.71 or later)
Windows
19H1
FlatSB_ShowScrollBar
commctrl/FlatSB_ShowScrollBar
c++
APIRef
kbSyntax
DllExport
Comctl32.dll
FlatSB_ShowScrollBar

FlatSB_ShowScrollBar function

-description

Shows or hides a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard ShowScrollBar function.

-parameters

-param 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.

-param code

Type: int

The scroll bar type. It can be one of the following values:

Value Meaning
SB_BOTH
Shows or hides the horizontal and vertical scroll bars.
SB_HORZ
Shows or hides the horizontal scroll bar.
SB_VERT
Shows or hides the vertical scroll bar.

-param unnamedParam3

Type: BOOL

Specifies whether the scroll bar should be shown or hidden. If this parameter is nonzero, the scroll bar will be shown; if it is zero, the scroll bar will be hidden.

-returns

Type: BOOL

Returns nonzero if successful, or zero otherwise.

-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.