07-20-2010 09:30 AM
Hi all,
I am currently using the 6.0 version, is there a work-around to use mouse-wheel-scrolls?
-T.
07-21-2010 09:21 AM
Hello TurboMetrologist,
I am not sure if there is a workaround for CVI 6 since this is no longer support and the UIR changed formats in CVI 7.1. You can take a look at the code and try and implement it in CVI 6 by creating a new UIR, though some commands may not be available in CVI 6 that are used in a later version. Have a great day!
Best Regards,
Adam G
08-05-2010 05:51 PM - edited 08-05-2010 05:52 PM
Turbo:
CVI 6.0 doesn't have built-in support for the mouse wheel, but you can use InstallWinMsgCallback () to capture Windows message WM_MOUSEWHEEL.
Look at the attached sample (developed in CVI 6.0), which just has a numeric dial which can be controlled by the mouse wheel.
This sample is based on several I found on the forum and on the toolbox sample that shipped with CVI 6.0, ..\CVI\samples\toolbox\msgdemo.prj
08-13-2010 12:07 PM
Thanks! That was an excellent example.