please dont rip this site Prev Next

SCROLLINFO info  Overview  Group

The SCROLLINFO structure contains scroll bar parameters to be set by the SetScrollInfo function (or SBM_SETSCROLLINFO message), or retrieved by the GetScrollInfo function (or SBM_GETSCROLLINFO message).

typedef struct tagSCROLLINFO {  // si 

    UINT cbSize; 

    UINT fMask; 

    int  nMin; 

    int  nMax; 

    UINT nPage; 

    int  nPos; 

    int  nTrackPos; 

}   SCROLLINFO; 

typedef SCROLLINFO FAR *LPSCROLLINFO; 

 

Members

cbSize
Specifies the size, in bytes, of this structure.
fMask
Specifies the scroll bar parameters to set or retrieve. This member can be a combination of the following values:

Value

Meaning

SIF_ALL

Combination of SIF_PAGE, SIF_POS, SIF_RANGE, and SIF_TRACKPOS.

SIF_DISABLENOSCROLL

This value is used only when setting a scroll bar’s parameters. If the scroll bar’s new parameters make the scroll bar unnecessary, disable the scroll bar instead of removing it.

SIF_PAGE

The nPage member contains the page size for a proportional scroll bar.

SIF_POS

The nPos member contains the scroll box position, which is not updated while the user drags the scroll box.

SIF_RANGE

The nMin and nMax members contain the minimum and maximum values for the scrolling range.

SIF_TRACKPOS

The nTrackPos member contains the current position of the scroll box while the user is dragging it.

nMin
Specifies the minimum scrolling position.
nMax
Specifies the maximum scrolling position.
nPage
Specifies the page size. A scroll bar uses this value to determine the appropriate size of the proportional scroll box.
nPos
Specifies the position of the scroll box.
nTrackPos
Specifies the immediate position of a scroll box that the user is dragging. An application can retrieve this value while processing the SB_THUMBTRACK notification message. An application cannot set the immediate scroll position; the SetScrollInfo function ignores this member.

See Also

SBM_GETSCROLLINFO, SBM_SETSCROLLINFO, GetScrollInfo, SetScrollInfo


file: /Techref/os/win/api/win32/struc/src/str16_17.htm, 4KB, , updated: 2000/4/7 11:20, local time: 2024/11/27 06:57,
TOP NEW HELP FIND: 
3.21.246.53:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/os/win/api/win32/struc/src/str16_17.htm"> SCROLLINFO</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .