SBM_GETSCROLLINFO
An
application sends the SBM_GETSCROLLINFO message to retrieve the parameters of a
scroll bar.
SBM_GETSCROLLINFO
wParam = 0; // not used, must
be zero
lParam = (LPARAM) (LPSCROLLINFO) lpsi; // scroll bar parameters
Parameters
lpsi
Value of lParam.
Points to a SCROLLINFO
The fMask
member can be a combination of the following values:
Value |
Meaning |
SIF_ALL |
Combination
of SIF_PAGE, SIF_POS, and SIF_RANGE. |
SIF_PAGE |
Copies the
scroll page to the nPage member of the SCROLLINFO structure
pointed to by lpsi. |
SIF_POS |
Copies the
scroll position to the nPos member of the SCROLLINFO |
SIF_RANGE |
Copies the
scroll range to the nMin and nMax members of the SCROLLINFO
structure pointed to by lpsi. |
Return Values
If the
message retrieved any values, the return value is TRUE; otherwise, it is FALSE.
See Also