comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: catching of wheel button / wheel scroll events?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: catching of wheel button / wheel scroll events? [message #38976 is a reply to message #38971] Fri, 16 April 2004 11:28 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
"Stefan Tuchschmid" wrote in message...
> Hi Guys
> For a medical application the client requested that he can scroll
> through a stack of images with a Logitech Wheel Mouse. Only one is
> shown at a given time. That means I'll have to come up with an
> solution to catch the wheel event. I have not found any documentation
> how this can be done in IDL.
>
> It might be possible to have an empty IDLgrWindow with scroll bars
> invisible in back of my Draw Object, and then catch the OnScroll
> Events. However, this seems to be a rather awkward solution.
>
> I know that there's a OS issue with that and all, but we're simply
> trying to make it as fast as possible for the radiologist.
>
> Solution anyone?

If you are using windows you can use my DirectInput .dlm. It is a windows
only .dlm which captures keyboard, mouse (including mouse Z, aka mouse
wheel), and joystick input. Unfortunately it isn't event driven, you need
to poll for input.

http://www.acoustics.washington.edu/~towler/directInputDLM.h tml

-Rick
[Message index]
 
Read Message
Read Message
Previous Topic: Re: need to develop interactive plot routine
Next Topic: Re: dialog_pickfile in 6.0

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 09:41:49 PDT 2025

Total time taken to generate the page: 1.83848 seconds