borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Keeping Combo Box Dropped Down Even When Programmatically Scrolling)Next Topic (Converting String into Date/Time) New Topic New Poll Post Reply
AndreaVB Forum : API : mouse wheel detection by background window
Poster Message
Randy S
Level: Trainee

Registered: 27-09-2006
Posts: 3

icon mouse wheel detection by background window

running VB6 compiler..my program runs in background but need to detect when another active window scrolls on the mouse wheel.

tried getmessage/dispatchmessage as well as hooks (particularly  WM_MOUSEWHEEL, etc) but both only work when my program is the active window

cannot use setcapture/releasecapture as it causes weird effect on mouse actions on the active window

tried GetAsyncKeyState. it works in the background window but only on mouse key presses or clicks but not on wheel scrolls

any help greatly appreciated with sample code to help apply it. THX

27-09-2006 at 04:51 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : API : mouse wheel detection by background window
Previous Topic (Keeping Combo Box Dropped Down Even When Programmatically Scrolling)Next Topic (Converting String into Date/Time) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder