The ShowScrollBar function shows or hides the specified scroll bar.
BOOL ShowScrollBar(
HWND hWnd, |
// handle of window with scroll bar |
int wBar, |
// scroll bar flag |
BOOL bShow |
// scroll bar visibility flag |
); |
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 of 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. |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
You should not call this function to hide a scroll bar while processing a scroll bar message.
file: /Techref/os/win/api/win32/func/src/f85_12.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/11/20 06:18,
18.119.29.246:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/os/win/api/win32/func/src/f85_12.htm"> ShowScrollBar</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.