How to track MouseWheel movements in Visual Basic 6.0?
VB cares about standard mouse buttons but provides no mean to react to MouseWhel movements :blink:
Do I have to use the Win32 API (if so, how?) or is there a built-in method in VB?
Please give detailed help, as I have limited VB knowledge :blush:
Thanks in advance.
MouseWheel in VB6.0
Started by Nautilus, Jan 26 2005 01:07 PM
4 replies to this topic
#1
Posted 26 January 2005 - 01:07 PM
-Nautilus
(readin' this? perhaps you should get out more -- give it a thought)
#2
Posted 27 January 2005 - 07:31 PM
21 views, 0 replies?
How can it be nobody knows enough on VB to help me? :)
Never mind, problem is solved.
Thanks anyway.
Regards.
How can it be nobody knows enough on VB to help me? :)
Never mind, problem is solved.
Thanks anyway.
Regards.
-Nautilus
(readin' this? perhaps you should get out more -- give it a thought)
#3
Posted 27 January 2005 - 08:34 PM
Sorry, unfortunately not many VB programmers are residents here.
#5
Posted 28 January 2005 - 09:49 PM
Ed Mack said:
I understand, don't worry. VB is really limited... I too prefer C/C++.Problem was, my Boss wanted a utility to show certain data using a 3D graphic.
Not too complicated.
But he wanted me to use VB (ouch), and also asked for a zoom-Like feature bound to the mousewheel :dry: (gosh! why ME?)
I just couldn't tell him using VB for the task was insane :blush:
Especially since he like it so much (Boss, grow up: VB is a toy...)
So, shortly after posting here, I found a VB6.0 crash course and learned how to call Win32API.
The rest was piece of cake:
1) subclass form's window procedure
2) intercept WM_MOUSEWHEEL messages (which VB seem to purposedly ignore... why I wonder!?).
Best regards,
Ciao :)
-Nautilus
(readin' this? perhaps you should get out more -- give it a thought)
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













