15,979
社区成员
发帖
与我相关
我的任务
分享
BOOL ShowScrollBar(
HWND hWnd, // handle to window with scroll bar
int wBar, // scroll bar flag
BOOL bShow // scroll bar visibility flag
);
Parameters
hWnd
Handle to a scroll bar control or a window with a standard scroll bar, depending on the value of the wBar parameter.
wBar
Specifies the scroll bar(s) to be shown or hidden. This parameter can be one of the following values: Value Meaning
SB_BOTH Shows or hides a window's standard horizontal and vertical scroll bars.
SB_CTL Shows or hides a scroll bar control. The hWnd parameter must be the handle to the scroll bar control.
SB_HORZ Shows or hides a window's standard horizontal scroll bars.
SB_VERT Shows or hides a window's standard vertical scroll bar.
bShow
Specifies whether the scroll bar is shown or hidden. If this parameter is TRUE, the scroll bar is shown; otherwise, it is hidden.