An application sends the SBM_GETPOS message to retrieve the current position of the scroll box of a scroll bar control. The current position is a relative value that depends on the current scrolling range. For example, if the scrolling range is 0 through 100 and the scroll box is in the middle of the bar, the current position is 50.
SBM_GETPOS wParam = 0; // not used; must be zero lParam = 0; // not used; must be zero
This message has no parameters.
If the message succeeds, the return value is the current position of the scroll box in the scroll bar.
SBM_GETRANGE, SBM_SETPOS, SBM_SETRANGE, SBM_SETRANGEREDRAW
file: /Techref/os/win/api/win32/mess/src/msg15_23.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/30 11:41,
3.137.218.176: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://massmind.org/Techref/os/win/api/win32/mess/src/msg15_23.htm"> SBM_GETPOS</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.