GregSands Posted November 29, 2010 Report Share Posted November 29, 2010 Does anyone know whether it is possible to detect a mouse scroll in an XControl? Or do we need to wait for this event to be added? Quote Link to comment
Yair Posted November 29, 2010 Report Share Posted November 29, 2010 Like I said in the idea, you can use the mouse input VIs to detect scrolling. It would just be a matter of ANDing that with the mouse cursor being over the XControl. Quote Link to comment
Olivier Jourdan Posted November 30, 2010 Report Share Posted November 30, 2010 you can use the mouse input VIs Definitely not a big issue, but this solution is not multi-platform (mouse input VIs are not available on Linux and Mac) Quote Link to comment
GregSands Posted December 2, 2010 Author Report Share Posted December 2, 2010 Like I said in the idea, you can use the mouse input VIs to detect scrolling. It would just be a matter of ANDing that with the mouse cursor being over the XControl. I've been trying to get this to work, but the Facade VI only runs in response to events, so I'm not quite sure where to put the mouse input VIs. I know I can do this outside the XControl, but I wanted to have all the functionality built into the XControl itself. Quote Link to comment
Yair Posted December 3, 2010 Report Share Posted December 3, 2010 A valid point. Have a look at this recent thread which discussed spawning a parallel process and communicating with it. The daemon can be part of the XControl, so the users never see it. Quote Link to comment
GregSands Posted December 5, 2010 Author Report Share Posted December 5, 2010 A valid point. Have a look at this recent thread which discussed spawning a parallel process and communicating with it. The daemon can be part of the XControl, so the users never see it. Thanks, I hadn't connected that thread with what I was wanting to do. Will give it a go. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.