LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mouse scroll whell management

How can I manage, with the Event Structure, the detection of the scroll whell?
0 Kudos
Message 1 of 13
(5,186 Views)

Unfortunately this can't be done with the event structure (maybe in 8?), but you can do it with the input VIs which can be found in the advanced palette. Then, you can run this in a seperate loop and fire dynamic events so the event structure will react.

I think this is something which should be in the event structure and to let NI know about it you can try clicking the Contact NI link at the top of the page.


___________________
Try to take over the world!
0 Kudos
Message 2 of 13
(5,166 Views)
Download the Scroll Wheel Mouse vi from:
http://hamiltondesign-consulting.com/Utils.htm#IO%20Mouse

You could use Read Mouse XY & Wheel to programmatically generate a wheel event.

Message Edited by Jonnie 5 on 04-13-2006 02:57 PM



2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 3 of 13
(5,162 Views)

As far as I know, the Event Structure does not have any events for mouse scroll wheel detection.  However, in LabVIEW 8.0, native scroll wheel support was added to scrollable front panel objects (Tree Control, Listbox, Table, and Multicolumn Listbox).  So if that's the functionality you were hoping to accomplish with events, it's already done for you in LabVIEW 8.0.

-D

0 Kudos
Message 4 of 13
(5,154 Views)

How about arrays?

In any case, I could see cases of users wanting this for other things, so I would add event structure support for mouse wheel scrolling to the wish list.

BTW, speaking of event structures, are there any plans to add the ability to dilute repeating events?

Key repeat or Mouse Move events, for instance, fire a ton of times too much. In the case of mouse move this is extremely annoying because adding code to do the dilution yourself does not handle cases in which the mouse move stops. It would be nice if such events could be configured to fire only if the mouse has moved X pixels or every X milliseconds or if X amount of milliseconds passed since the last time the mouse moved and it hasn't moved the minimum amount.

How about that?


___________________
Try to take over the world!
Message 5 of 13
(5,143 Views)

Sounds like somebody needs to make a visit to the Product Suggestion Center webpage... 😉

-D

Message 6 of 13
(5,140 Views)


@Darren wrote:

Sounds like somebody needs to make a visit to the Product Suggestion Center webpage... ;)


It's always better to hear "Yes! Everything you want will be available in 8.1 which will come out exactly 5 months from now" directly from R&D instead of going that way. Smiley Very Happy

___________________
Try to take over the world!
Message 7 of 13
(5,136 Views)
TST,
You gave a very knowledgable answer regarding the Remote Panel: Connection to Clients property, and so maybe you know how we can solve a problem.
 
The Connection to Clients property shows status of a client. If the Ethernet connection to the client is lost (cord pulled, laptop dropped, etc) it takes 15 to 20 seconds for the lost connection to show in the  Connection to Clients property.
 
This is probably based on a timeout somewhere. Do you have any idea how we can shorten this time so a lost connection is detected faster?
 
Thanks
0 Kudos
Message 8 of 13
(5,119 Views)
Message 9 of 13
(5,111 Views)
I don't have any real experience with RFPs. The details for that answer probably came from knowing where to look. In this case, other than uncle's suggestion of implementing a seperate monitoring process, I would go look into the options (for instance, the timeout option in the Options>>Web Server>>Configuration page or the INI settings found in Brian Renken's site).

___________________
Try to take over the world!
Message 10 of 13
(5,097 Views)