Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Controls
Control Library
Flat Scroll Bar

  Switch on low bandwidth view
Flat Scroll Bar

This section contains information about the APIs for controlling flat scroll bars.

Overviews

Flat Scroll Bars

Microsoft Internet Explorer 4.0 introduced a new visual technology called flat scroll bars. Functionally, flat scroll bars behave just like standard scroll bars. The difference is that you can customize their appearance to a greater extent than standard scroll bars.

Functions

FlatSB_EnableScrollBar

Enables or disables one or both flat scroll bar direction buttons. If flat scroll bars are not initialized for the window, this function calls the standard EnableScrollBar API.

FlatSB_GetScrollInfo

Gets the information for a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard GetScrollInfo API.

FlatSB_GetScrollPos

Gets the thumb position in a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard GetScrollPos API.

FlatSB_GetScrollProp

Gets the properties for a flat scroll bar. This function can also be used to determine if InitializeFlatSB has been called for this window.

FlatSB_GetScrollPropPtr

Gets the properties for a flat scroll bar. This function can also be used to determine if InitializeFlatSB has been called for this window.

Note  This is identical to FlatSB_GetScrollProp.
FlatSB_GetScrollRange

Gets the scroll range for a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard GetScrollRange API.

FlatSB_SetScrollInfo

Sets the information for a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard SetScrollInfo API.

FlatSB_SetScrollPos

Sets the current position of the thumb in a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard SetScrollPos API.

FlatSB_SetScrollProp

Sets the properties for a flat scroll bar.

FlatSB_SetScrollRange

Sets the scroll range of a flat scroll bar. If flat scroll bars are not initialized for the window, this function calls the standard SetScrollRange API.

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.

InitializeFlatSB

Initializes flat scroll bars for a particular window.

UninitializeFlatSB

Uninitializes flat scroll bars for a particular window. The specified window will revert to standard scroll bars.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker