|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| No
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
SBM_SETSCROLLINFO
An application sends the SBM_GETSCROLLINFO message to set the parameters of a
scroll bar.
SBM_SETSCROLLINFO
wParam = (WPARAM) fRedraw; // redraw flag
lParam = (LPARAM) (LPSCROLLINFO) lpsi; // scroll bar parameters
Parameters
fRedraw
Value of wParam. Specifies whether the scroll bar is redrawn to reflect the new scroll box
position. If this parameter is TRUE, the scroll bar is redrawn. If it is FALSE,
the scroll bar is not redrawn.
lpsi
Value of lParam. Points to a SCROLLINFO structure whose fMask member, when the message is sent, specifies the scroll bar parameters to set.
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
| Sets the scroll page to the value specified in the nPage member of the SCROLLINFO structure pointed to by lpsi.
| SIF_POS
| Sets the scroll position to the value specified in the nPos member of the SCROLLINFO structure pointed to by lpsi.
| SIF_RANGE
| Sets the scroll range to the value specified in the nMin and nMax members of the SCROLLINFO structure pointed to by lpsi.
|
Return Values
The return value is the current position of the scroll box.
See Also
SBM_GETSCROLLINFO, SCROLLINFO
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|