回 帖 发 新 帖 刷新版面

主题:帮帮忙!!各位大侠!

各位请问在滚动条里面lParam和wParam的高低字节各代表什么呀???

回复列表 (共1个回复)

沙发

对于垂直滚动条:
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.

我来回复

您尚未登录,请登录后再回复。点此登录或注册