WHY! Mouse Scroll!

Crash1hd

Registered CyberGeek
Local time
Today, 01:30
Joined
Jan 11, 2004
Messages
143
Why is it in the year 2004!!!! Why cant Microsoft do anything right lol what I mean is why is it we have to install third party software to make the scroll wheel working in the Microsoft Visual Basic Editor Especially when it works great in the rest of the Office programs??? is there a reason why the scroll wheel doesn’t work by default and or is there a way of making it work without installing a 3rd party software like vbscroll

at

http://www.dicks-blog.com/excel/2004/05/scroll_wheel_in.html

OH I also found this link

http://support.microsoft.com/?id=837910

but the link to the software doesnt work??? Like I said it seems like they cant get anything right (Well I guess they did get parts of Service Pack 2 right lol) :eek:
 
I don't agree with your statement that the scroll wheel works great in Office, in Access it's a pain in the ... :mad:
I'm now looking to download the dll that disables it ;)
 
I guess what I mean is that it works well in excell word and all the programs that have scroll bars on the side that are not created by the user IE forms in there I can see it being a pain however In my search I had found info on disabling the scroll wheel do a search in the vb help as they have added a Mousewheel event

MouseWheel Event
See AlsoApplies ToExampleSpecificsOccurs when the user rolls the mouse wheel in Form View, Datasheet View, PivotChart View, or PivotTable View.

Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long)
Page True if the page was changed.

Count The number of lines by which the view was scrolled with the mouse wheel.

Example
The following example demonstrates the syntax for a subroutine that traps the MouseWheel event.

Private Sub Form_MouseWheel( _
ByVal Page As Boolean, ByVal Count As Long)
If Page = True Then
MsgBox "You've moved to another page."
End If
End Sub


and

MouseWheel Property
See AlsoApplies ToExampleSpecificsReturns or sets a String indicating which macro, event procedure, or user-defined function runs when the MouseWheel event occurs. Read/write.

expression.MouseWheel
expression Required. An expression that returns one of the objects in the Applies To list.

Remarks
Valid values for this property are "macroname" where macroname is the name of macro, "[Event Procedure]" which indicates the event procedure associated with the MouseWheel event for the specified object, or "=functionname()" where functionname is the name of a user-defined function. For a more detailed discussion of event properties, see "Event Properties."

Example
The following example specifies that when the MouseWheel event occurs on the first form of the current project, the associated event procedure should run.

Forms(0).MouseWheel = "[Event Procedure]"
 
Crash1hd said:
Why cant Microsoft do anything right lol what I mean is why is it we have to install third party software to make the scroll wheel working in the Microsoft Visual Basic Editor Especially when it works great in the rest of the Office programs???
Why not get the original? ;)

IntelliPoint 5.0 Mouse Software for Windows XP and 2000

IntelliPoint 4.12 Mouse Software for Windows Me, 98, and NT 4.0

Version 5 of the Intellipoint software does not allow scrolling within the VB code window for Windows XP. Version 4 does and version 4 also works fine with Windows XP and Access 97 & Access 2003.
 
The Microsoft solution has a lot of code and also a few warnings of potential problems so I suggest that you read and test your code very thoroughly. It also uses ActiveX and DLLs for which I try to avoid.

For a simpler solution to turning off the mouse wheel I suggest that you check out the nomouse.zip sample I posted [it is near the bottom of the page] for it allows you to easily turn on or off the mouse scroll wheel and it does not mess my other subs or functions up.

You might benefit from my A Better Mouse Trap? sample for that is my preferred way to ensure that a user has saved a modified record before they can move to another record or close the form without disabling their mouse wheel.

Searching the forum would have provided you with a lot of options on how to control the mouse wheel.

HTH
 
ghudson said:
Searching the forum would have provided you with a lot of options on how to control the mouse wheel.

HTH
to whom are you referring?
 

Users who are viewing this thread

Back
Top Bottom