主题:帮帮忙!!各位大侠!
seonphe555
[专家分:60] 发布于 2006-08-19 21:41:00
各位请问在滚动条里面lParam和wParam的高低字节各代表什么呀???
回复列表 (共1个回复)
沙发
InitInstance [专家分:8720] 发布于 2006-08-20 19:54:00
对于垂直滚动条:
wParam
The low-order word specifies a scroll bar value that indicates the user's scrolling request. This parameter can be one of the following values.
VALUE:
SB_BOTTOM
SB_ENDSCROLL
SB_LINEDOWN
SB_LINEUP
SB_PAGEDOWN
SB_THUMBPOSITION
SB_THUMBTRACK
SB_TOP
lParam
If the message is sent by a scroll bar, this parameter is the handle to the scroll bar control. If the message is not sent by a scroll bar, this parameter is NULL.
我来回复