|
FlatSB_ShowScrollBar Shows or hides a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard ShowScrollBar API. VB4-32,5,6 Declare Function FlatSB_ShowScrollBar Lib "comctl32" (ByVal hWnd As Long, ByVal code As Long, ByVal fShow As Boolean) As Boolean |
Operating Systems Supported |
Windows 2000 (or Windows NT 4.0 with Internet Explorer 4.0 or later); Windows 98 (or Windows 95 with Internet Explorer 4.0 or later) |
· 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. |
Returns nonzero if successful, or zero otherwise. |
|
|
|