关于滚动条的问题!(50分)

  • 主题发起人 主题发起人 chinasf
  • 开始时间 开始时间
C

chinasf

Unregistered / Unconfirmed
GUEST, unregistred user!
我在定义滚动条的WMHScroll和WMVScroll事件时,不明白Message.ScrollCode中的<br>SB_BOTTOM,SB_ENDSCROLL,SB_LINELEFT,SB_LINERIGHT,SB_PAGELEFT,SB_PAGERIGHT,<br>SB_THUMBPOSITION,SB_THUMBTRACK,SB_TOP,SB_LINEDOWN,SB_LINEUP,SB_PAGEDOWN,<br>SB_PAGEUP是什么意思,请问谁能帮我?特别是SB_THUMBPOSITION,SB_THUMBTRACK!<br>
 
MSDN能帮你。 你可以看帮助是怎么说的啊<br><br>
代码:
<br>nScrollCode<br><br>Value of the low-order word of wParam. Specifies a scroll bar value that indicates the user's scrolling request. This parameter can be one of the following values: <br><br>Value	Meaning<br>SB_BOTTOM	Scrolls to the lower right.<br>SB_ENDSCROLL	Ends scroll.<br>SB_LINEDOWN	Scrolls one line down.<br>SB_LINEUP	Scrolls one line up.<br>SB_PAGEDOWN	Scrolls one page down.<br>SB_PAGEUP	Scrolls one page up.<br>SB_THUMBPOSITION	Scrolls to the absolute position. The current position is specified by the nPos parameter.<br>SB_THUMBTRACK	Drags scroll box to the specified position. The current position is specified by the nPos parameter.<br>SB_TOP	Scrolls to the upper left.<br>
 
SB_THUMBPOSITION Scrolls to the absolute position. The current position is specified by the nPos parameter.<br>SB_THUMBTRACK Drags scroll box to the specified position. The current position is specified by the nPos parameter.<br>这两句不很明白,可否说的清楚一些!<br>
 
SB_THUMBPOSITION 滚动到(Scrolls)指定的(nPos)位置<br>SB_THUMBTRACK 拖动到(Drags scroll)指定的(nPos)位置
 
多谢!给分了!
 
接受答案了.
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
I
回复
0
查看
579
import
I
S
回复
0
查看
928
SUNSTONE的Delphi笔记
S
后退
顶部