让VB应用程序支持鼠标滚轮(5) If .EOF = False Then .MoveNext If .EOF = True Then .MoveLast End If End If End If End With End If End With Case Else WindowProc = CallWindowProc(lpPrevWndProc, hw, _ uMsg, wParam, lParam) End Select End Function
Public Function HIWORD(LongIn As Long) As Integer ' 取出32位值的高16位 HIWORD = (LongIn And &HFFFF0000) \ &H10000 End Function
Public Function LOWORD(LongIn As Long) As Integer ' 取出32位值的低16位 LOWORD = LongIn And &HFFFF& End Function