View previous topic :: View next topic |
Author |
Message |
jwfv Valued Contributor
Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Thu Mar 03, 2005 5:44 pm Post subject: Mouse wheel support |
|
|
I have a wheel mouse and have started using the wheel quite a bit. It is proving to be useful.
I would like to see some sort of support for a mouse wheel in VDS. (Or does someone know how to do this already?) _________________ Joe Floyd |
|
Back to top |
|
|
jules Professional Member
Joined: 14 Sep 2001 Posts: 1043 Location: Cumbria, UK
|
Posted: Fri Mar 04, 2005 9:16 am Post subject: |
|
|
The editor does support mouse wheel use for scrolling. _________________ The Tech Pro
www.tech-pro.net |
|
Back to top |
|
|
jwfv Valued Contributor
Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Fri Mar 04, 2005 1:33 pm Post subject: |
|
|
Thanks Jules - but I meant some way to tell if the user (for my application) was using the mouse wheel. Also, some way to simulate a mouse wheel scroll.
For example: in Adobe Acrobat Reader, if the user holds down Shift-Z, the mouse wheel becomes a dynamic zoom control. I can think of a few good uses for being able to detect that and/or simulate it. _________________ Joe Floyd |
|
Back to top |
|
|
jwfv Valued Contributor
Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Fri Mar 04, 2005 7:59 pm Post subject: |
|
|
I just noticed that the VDSWND.dll has support for detecting mouse wheel scrolling, which is great.
There still doesn't seem to be any support for sending this scroll event to windows, though. And it might be nice to have this support in VDS like standard @click(), etc. _________________ Joe Floyd |
|
Back to top |
|
|
ShinobiSoft Professional Member
Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Fri Mar 04, 2005 11:03 pm Post subject: |
|
|
If you have access to the Windows API documentation, you could also
investigate the WM_MOUSEWHEEL message.
The WM_MOUSEWHEEL message number => $20a
The description is a little to long to post here, not to mention, I'd say most
of us have the Windows API documentation. The topic to read is "Mouse
Input".
If I'm not mistaken you can use the API call
GetSystemMetrics(SM_MOUSEWHEELPRESENT)' to determine if a mouse
wheel is present. The SM_MOUSEWHEELPRESENT index requires Windows
NT and Windows 98 and up. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
Back to top |
|
|
|