FlatSB_ShowScrollBarFlatSB_ShowScrollBar*
*Contents  *Index  *Topic Contents
*Previous Topic: FlatSB_SetScrollRange
*Next Topic: UninitializeFlatSB

FlatSB_ShowScrollBar


BOOL FlatSB_ShowScrollBar(
    HWND hwnd, 
    int code, 
    BOOL fShow
);

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

hwnd
Handle to the window that contains the flat scroll bar. This window handle must have been passed previously in a call to InitializeFlatSB.
code
Parameter that specifies the scroll bar type. It can be one of the following values:
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.
fShow
Parameter that 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.

Version 4.71


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.