|
-
Jan 2nd, 2012, 01:59 AM
#3
Re: WM_VSCROLL not picking up scroll wheel?
 Originally Posted by Edgemeal
Like this...?
Code:
Private Const WM_MOUSEWHEEL As Int32 = &H20A
' Protected Overrides Sub...
If m.Msg = WM_MOUSEWHEEL Then
If (m.WParam.ToInt32) / 65536 > 0 Then ' wheel direction upward
Else ' wheel direction downward
End If
End If
Can't use WM_MOUSEWHEEL either because this ALSO occurs when the mouse is scroll wheel is actually turned and not after the content is actually scrolled.
Kris
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|