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;
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. |
SBM_GETSCROLLINFO, SBM_SETSCROLLINFO, GetScrollInfo, SetScrollInfo
file: /Techref/os/win/api/win32/struc/src/str16_17.htm, 4KB, , updated: 2000/4/7 12:20, local time: 2024/8/25 11:06,
18.224.62.118: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? <A HREF="http://piclist.com/tecHREF/os/win/api/win32/struc/src/str16_17.htm"> SCROLLINFO</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.