Mouse Wheel Scroll NOT in IDE

Polar Bear
06-04-2005, 03:41 PM

My scroll works fine in the VB IDE but not when I run the program. I know about VBScroll, but I'm hoping there is another way of having scrolling functionality that I can deploy with my program. I don't want to install an extra program on all machines that run my program just to get scroll to work.


06-04-2005, 04:47 PM
You have to subclass the window that you want to catch the mouse wheel in for WM_MOUSEWHEEL messages. Annoyingly MS decided that people who write VB programs like to subclass their applications just to gain normal functionality of Windows applications...

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum