|
-
Oct 15th, 2004, 02:18 PM
#1
Thread Starter
Frenzied Member
Using the mouse wheel in the Code IDE
Is is possible to use the mouse wheel in the code IDE (Access 2000)? It's annoying to have to use the scrollbars a/o page up/down keys. Thanks.
Last edited by salvelinus; Oct 18th, 2004 at 10:51 AM.
Tengo mas preguntas que contestas
-
Oct 15th, 2004, 02:27 PM
#2
It may just be the form/control needing the focus because on mine
it works with no coding at all. I am using an MS Intellipoint
mouse? There is an API I think to use the wheel in programming.
I will look for it.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 17th, 2004, 11:34 AM
#3
Thread Starter
Frenzied Member
Thanks, RobDog. One guy at work can use his, but no one else can. He installed Office Developer Edition, apparently. I can't think of any reason this functionality wouldn't be enabled in the IDE. I guess it's better than coding in binary*, but still.
*"Why, you newbies and all your fancy pants languages! In my day, we had to code in 1's and 0's, and we didn't have any 0's!!"
Tengo mas preguntas que contestas
-
Oct 17th, 2004, 12:13 PM
#4
It may also depend on the OS, mouse, and any supported mouse
software being installed. I started working on something but I
dont have a way to test since my mouse wheel works and I cont
disable the wheel under the mouse software.
Here is the link to M$ on what you will need.
WM_MOUSEWHEEL
Here is what I had started on.
VB Code:
Option Explicit
'Add one textbox - set to multiline with a scrollbar.
Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, _
ByVal wParam As Long, ByRef lParam As Any) As Long
Private Const WM_MOUSEWHEEL As Long = &H20A
Private Sub Form_Load()
Dim i As Integer
Dim sStr As String
For i = 1 To 25
sStr = sStr & " Test " & i & vbNewLine
Next
Text1.Text = sStr
End Sub
Private Sub Text1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
SendMessage Text1.hwnd, WM_MOUSEWHEEL, 0&, 0& 'The last two parameters need to be filled in I think, since I cant test.
End Sub
HTH
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 18th, 2004, 06:46 AM
#5
It is possible they need proper mouse drivers installed.
-
Oct 18th, 2004, 10:12 AM
#6
Possibly, but as the poster states, One guy at work can use his,
but no one else can. This makes me think that its a low possibility
that everyone is having problems. Although, if they are running
old OS or mouse as you suggest, they may just need an updated
mouse driver.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 18th, 2004, 10:49 AM
#7
Thread Starter
Frenzied Member
I solved it by installing a different mouse driver, MS Intellimouse 4.1. Apparently the newer versions of the driver have this problem, but old ones work ok. Go figure. Thanks for the ideas.
Tengo mas preguntas que contestas
-
Oct 18th, 2004, 10:57 AM
#8
Dave you nailed it.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 18th, 2004, 11:03 AM
#9
Originally posted by RobDog888
Dave you nailed it.
Boo-Ya!
-
Oct 18th, 2004, 11:08 AM
#10
Although, in my first post I mention the fact that it works for my
intellimouse no problems at all. Hinting at it being the mice.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 18th, 2004, 11:12 AM
#11
Originally posted by RobDog888
Although, in my first post I mention the fact that it works for my
intellimouse no problems at all. Hinting at it being the mice.
Yes, you suggesting it works for you, combined with him suggesting it worked on some machines, and not on others, led me to suspect the mouse driver issue. I've had lots of driver issues in my day. You start to recognize them after a decade or so...
-
Oct 18th, 2004, 11:19 AM
#12
Just messing with ya.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
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
|