FlatSB_GetScrollPosFlatSB_GetScrollPos*
*Contents  *Index  *Topic Contents
*Previous Topic: FlatSB_GetScrollInfo
*Next Topic: FlatSB_GetScrollProp

FlatSB_GetScrollPos


int FlatSB_GetScrollPos(
    HWND hwnd, 
    int code
);

Retrieves 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.

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_HORZ Retrieves the thumb position of the horizontal scroll bar.
SB_VERT Retrieves the thumb position of the vertical scroll bar.

Version 4.71


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