如何控制窗口的滚动条
.elseif eax ==WM_HSCROLL
mov eax,wParam
.if ax ==SB_LINELEFT
dec dwPos
.elseif ax ==SB_LINERIGHT
inc dwPos
.elseif ax ==SB_PAGELEFT
sub dwPos,10
.elseif ax ==SB_PAGERIGHT
add dwPos,10
.elseif ax ==SB_THUMBPOSITION || ax == SB_THUMBTRACK
mov eax,wParam
shr eax,16
mov dwPos,eax
.else
mov eax,TRUE
ret
.endif
cmp dwPos,0
jge @F
mov dwPos,0
@@:
cmp dwPos,100
jle @F
mov dwPos,100
@@:
invoke SendDlgItemMessage,hWnd,ID?????,SBM_SETPOS,dwPos,TRUE
始终要他的ID才能控制到呀