FlatSB_GetScrollRangeFlatSB_GetScrollRange*
*



Contents  *



Index  *Topic Contents
*Previous Topic: FlatSB_GetScrollProp
*Next Topic: FlatSB_SetScrollInfo

FlatSB_GetScrollRange


BOOL FlatSB_GetScrollRange(
    HWND hwnd, 
    int code, 
    LPINT lpMinPos, 
    LPINT lpMaxPos
);

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

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 scroll range of the horizontal scroll bar.
SB_VERT Retrieves the scroll range of the vertical scroll bar.
lpMinPos
Address of an INT value that receives the minimum scroll range value.
lpMaxPos
Address of an INT value that receives the maximum scroll range value.

Version 4.71


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