Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>setscrollrange</b> set current max. & min positions http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SetScrollRange       Set Current Max. & Min Positions

void SetScrollRange(hWnd, nBar, nMinPos, nMaxPos, bRedraw)
HWND hWnd;
int nBar; /* See below */
int nMinPos;
int nMaxPos;
BOOL bRedraw;


                nBar
        |----------------------------------------------------|
        | SB_CTL   hWnd is scroll bar control                |
        | SB_HORZ  hWnd is window with horizontal scroll bar |
        | SB_VERT  hWnd is window with vertical scroll bar   |
        +----------------------------------------------------+

See Also: GetScrollPos SetScrollPos SetScrollRange GetScrollRange

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson