Home All Groups Group Topic Archive Search About
Author
7 Mar 2006 9:28 PM
BobbyS
I have a VB6 project and I would like to enable use of the mouse scroll wheel
in my forms. It is an MDI application. The parent form contains the scroll
bar controls. When the child form is visible in the parent form but not
maximized, occasionally the scroll wheel is not being recongized and not
scrolling the child form.

Any help about this problem would be appreciated.

Thank you.

Author
7 Mar 2006 10:56 PM
Ken Halter
"BobbyS" <Bob***@discussions.microsoft.com> wrote in message
news:2FC99025-33CC-405F-8BA1-94AC9B8A31D3@microsoft.com...
>I have a VB6 project and I would like to enable use of the mouse scroll
>wheel
> in my forms. It is an MDI application. The parent form contains the scroll
> bar controls. When the child form is visible in the parent form but not
> maximized, occasionally the scroll wheel is not being recongized and not
> scrolling the child form.
>
> Any help about this problem would be appreciated.
>
> Thank you.

Trapping the mouse wheel in your app requires subclassing.

Here's a great subclassing component....

Subclassing Without The Crashes
http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp

Once you get that setup, you'll find plenty of examples of what to look for
in that message trap here....

Results 1 - 100 of 276 for "mouse wheel" -dotnet group:*.vb.*
http://groups.google.com.my/groups?as_q=&num=100&scoring=r&hl=en&as_epq=mouse+wheel&as_oq=&as_eq=dotnet&as_ugroup=*.vb.*&as_usubject=&as_uauthors=&lr=&as_drrb=q&as_qdr=&as_mind=1&as_minm=1&as_miny=1981&as_maxd=19&as_maxm=1&as_maxy=2006&safe=off

--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm