Mouse scrool wheel events

Hello!
I noted that in CVI 9.0 when  using a slide control (hot mode) with the mouse scroll wheel, the only event generated is EVENT_MOUSE_WHEEL_SCROLL.
But in CVI 2013 the same control generates EVENT_MOUSE_WHEEL_SCROLL, EVENT_VAL_CHANGED and EVENT_COMMIT.
Is this behavior correct?
Thanks in advance.
Solved!
Go to Solution.

The reason those events are sent in CVI 2013 is because operating the mouse wheel really does change the value of the control in CVI 2013, which didn't happen in 9.0. This was implemented as a result of an idea exchange submission and it was documented in the CVI 2013 release notes (search for "mouse wheel").
The events are not referenced explicitly in the release notes because the key difference was the control value changing. Once that happens, then, as Wolfgang mentioned, the events do need to be sent.
Luis

Similar Messages

  • How to fire mouse wheel events to parent container?

    Hi,
    When I create a JPanel (let's say jParent) inside a JScrollPane and this JPanel is larger than the current viewport I can use my mouse wheel to scroll the JPanel's containt without coding anything about that.
    But if I add another JPanel-derived component (let's say jChild) to the first JPanel, mouse wheel events are not received by the first JPanel when the mouse is over the new added child JPanel.
    How can I forward child's mouse wheel events to the first JPanel?
    If I use:
    jChild.addMouseWheelListener(jParent)I must implement a mouseWheelMoved() method in jParent that requires some code to work while it was doing it byitself before...
    Thanks in advance for any help :-)
    Regards,
    Lara.

    you have a mouseWheelListener added to jChild?
    if so, in the mouseWheelMoved code include this line
    jParent.dispatchEvent(mouseWheelEvent);//or to the scrollpane

  • How to use Mouse Wheel Events

    Hello Everyone
    I am using Datagrid in my Canvas.
    I use mouse wheel to scroll the datagrid. But in one scroll
    through that wheel make the more than 4 rows to be scroll.
    So Now my requirement is to control the delta value of mouse
    wheel event and how to use that with my datagrid so that i will
    able to scroll one row through mouse wheel scroller.
    Thanks

    please give me some suggestion around it.
    I want to scroll one row of datagrid with per mousewheel
    scroll. I am not getting how to use the scrollMouseWheelMultiplier
    property of the IConfiguration class because i am not able to
    create the object of this class.
    I am using the Flex 3.0 and flash 9 version.
    please help me out around this.

  • Mouse wheel event coordinates issue in LV2013

    I realized some unexpected behavior when using the mouse wheel event of an XYGraph:
    The event contains the mouse coordinates which should be relative to the origin of the pane according to the LabVIEW help (see Mouse Wheel (Control Event)). In my case these coordinates are shifted. At the same time, the coordinates returned by the Mouse Move and Mouse Down events are correct. I think the Mouse Move, Mouse Down and Mouse Wheel Event coords should all be the same, i.e. relative to the owning pane's origin? The graph is in a window divided by splitters. I am using LabVIEW 2013 Professional Development System.

    Hi maxicon,
    I tried to reproduce your described behavior - It works as expected (see the attached VI).
    Please try to reproduce the issue again with the attached VI.
    1. Move the mouse and see coords changing.
    2. Operate the mouse wheel and see the coords are the same.
    P.S. Zero-coordinates are marked in the frontpanel:
    Kind regards,
    Heinz
    Attachments:
    Mouse Wheel Coords.vi ‏10 KB

  • JWindow blocking mouse wheel event?

    I have created a custom JPanel that acts as a container for another custom component that needs to receive mouse wheel events. When I place the custom JPanel in a JWindow the mouse wheel events do not get invoked, all though other mouse events work just fine. If I place the JPanel in a JFrame the mouse wheel events are invoked just fine (along with other mouse events).
    To keep things simple the JPanel handles the mouse listeners. Any idea why it would work when in a JFrame but not a JWindow?
    Edited by: skip1899 on Sep 21, 2009 7:20 AM

    The below sample code exhibits the behavior I am talking about on my system (1.6.0_16 on XP). Does it work for you? Is there something I am missing?
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.awt.event.MouseWheelEvent;
    import java.awt.event.MouseWheelListener;
    import javax.swing.JFrame;
    import javax.swing.JWindow;
    public class TestWindow extends JWindow implements
       MouseWheelListener,MouseListener {
         public TestWindow() {
              setSize(200,200);
              addMouseWheelListener(this);
              addMouseListener(this);
      public static void main(String args[]) {
           JFrame  frame = new JFrame();
           frame.setSize(300,300);
           frame.setVisible(true);
           TestWindow win = new TestWindow();
           win.setVisible(true);
    public void mouseWheelMoved(MouseWheelEvent e) {
         System.out.println("Mouse Wheel Moved!");
    public void mouseClicked(MouseEvent arg0) {
         System.out.println("Mouse Clicked!");
    public void mouseEntered(MouseEvent arg0) {
         System.out.println("Mouse Entered!");
    public void mouseExited(MouseEvent arg0) {
         System.out.println("Mouse Exited!");     
    public void mousePressed(MouseEvent arg0) {
         System.out.println("Mouse Pressed!");     
    public void mouseReleased(MouseEvent arg0) {
         System.out.println("Mouse Release!");
     

  • Mouse wheel events are being caught by Photoshop document

    I'm using CSXSWindowedApplication.
    If you create any document in Photoshop, then zoom into it, so it takes more space than visible screen area and then open a CS Extension panel - the mouse wheel event is being caught by Photoshop and when you're rolling it, Photoshop moves document up and down, instead. mouseWheel events don't reach neither WindowedApplication nor any control inside of it.
    This only happens in Photoshop.
    Are there any workarounds?
    Thank you!

    Interesting. I've' not played with mouse wheel events. I'll have a look at it.
    Thanks
    Bob

  • Mouse wheel events aren't caught in browser

    Hello.
    I developed an applet with NetBeans 6.5 with mouse wheel zooming. In applet viewer everything works fine, but when I start applet in page in browser (I tried Firefox 3.0.6, MS IE 6.0, MS IE 7.0), no mouse wheel events (neither scrolling) are caught by applet.
    Any ideas?
    Thanks.

    The reason behind this is: When applet is run on web browser, the applet window does not get focus. If you can grab the focus somehow, mouse wheel events will work fine. However, this works fine in applet viewer and in older versions of JDK. This is broken in JDK 1.6 and already fixed in JDK 1.7. Please have a look into this bug:
    [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6516675|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6516675]
    If you run following applet in your browser you will see mouse wheel events in action with JDK1.6:
    [In case it does not work, click on 'Click Me' button and try]
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    * @author mrityunjoy_saha
    public class TestApplet extends JApplet {
        public void init() {
             setLayout(new BorderLayout());
            XPane xPane = new XPane();
            //xPane.requestFocus();
            JScrollPane pane = new JScrollPane(xPane);
            //add(new JButton("Click Me"), BorderLayout.NORTH);
            add(pane, BorderLayout.CENTER);
        class XPane extends JPanel {
         private JLabel jLabel1;
            public XPane() {
                jLabel1 = new javax.swing.JLabel();
                addMouseWheelListener(new java.awt.event.MouseWheelListener() {
                    public void mouseWheelMoved(java.awt.event.MouseWheelEvent evt) {
                        formMouseWheelMoved(evt);
                jLabel1.setText("Mouse Wheel Info...");
                   add(jLabel1);
            private void formMouseWheelMoved(java.awt.event.MouseWheelEvent evt) {
                jLabel1.setText(String.valueOf(evt.paramString()));
    }Thanks,
    Mrityunjoy

  • Use mouse scroll wheel to change numeric control

    Does anyone know if and how I can use the mouse scroll wheel to change numeric control values?

    Another option would be to change the timeout.  This would avoid the timeout event every ms when the mouse has not "entered" the contol.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Mouse Scroll.vi ‏14 KB

  • PP CS: Scrool Wheel Zoom Misbehaving

    I'm on Mavericks, PP CC, 7.2.1
    When I hold down the alt key to Zoom out a timeline, if I zoom out too fast, it loops around and zooms into 1000% to the frame by frame level.
    To replicate the behavior, I just go to any point in my timeline, hold down Alt, and scroll the mouse wheel towards me. It zooms out, out, and out, showing me more and more of my timeline, and then suddenly zooms all the way back in the closest possible zoom level. At this point, if I continue to zoom out by moving the mouse wheel, it'll once again zoom out, out, out, until it gets to the maximum zoom distance and then bangs all the way back to frame level.
    If I keep spinning the mouse wheel while I hold down Alt, I can continue to zoom from frame level to fully zoomed out and back to frame level forever. This is incredibly frustrating behavior as it's impossible for me to quickly zoom out to my full timeline.
    If I go very slowly with my mouse wheel, I can get it to "stick" at fully zoomed out level, but again I have to be careful - if I spin that mouse wheel too fast, bammo I'm back to 1000% zoomed in at frame level.
    It also appears to be ultra sensitive, as you can see on the attached video. I'm holding down Alt and moving my finger probably one inch on my scroll wheel, maybe half it's total rotation, and it zooms WAY too fast.
    It does not do this if I Zoom in with my mouse wheel, meaning if I am at 100% zoom and I zoom into 1000%, it won't "loop back around" like it's doing when I zoom out.
    You can see in the attached video the frustrating behavior, as well as the speed I'm moving the mouse wheel. I'm not moving it very quickly. I have tried different mice as well, and their scroll wheels behave the same way. In previous versions of CC, when I was at the furthest zoom level, it would simply "stop" there no matter much I scrolled the mouse wheel. Now it loops around.
    This behavior does not exist with CS6. My mouse wheel works fine in every other application on my computer as well. What's the trick to fixing it?

    Thanks, I'm aware of the keyboard shortcut, but the question is about the scroll wheel behavior. I don't always need to zoom out to view my full timeline, sometimes I only need to do a few steps, however not only is the scroll wheel zoom far too "fast", but if I don't stop at exactly the right place or use exactly the right speed, it loops around back to 1000% zoom. It makes it basically impossible to use option+scroll wheel to zoom and as I said, if you go to fast, you're at 1000% zoom and usually totally "lost" in your timeline as a result.
    You can see in the video above by looking at the scroll bar - as soon as I go just one tiny smidgen above 100% zoom, it slams you back to 1000% zoom. As you can see from my finger movements on the wheel at the end of the video, it's not like I'm spinning the thing at 500mph, I'm just moving the scrool wheel at the same speed I scroll everything else on the computer - web pages, Word documents, etc.
    Scroll wheel behavior is fine for all other apps in OSX, firefox, Photoshop, etc. It even works fine in PP CC when I zoom in - just not when I zoom out.
    On PP CC for Windows, the behavior is fine. I zoom out with the alt+scroll wheel, it reaches full zoom, and stays there. It doesn't "loop back around" to 1000% zoom like you see in the video above.

  • Lock all mouse and keyboard event.

    i am looking ways to lock up all the mouse and keyboard events in windows...do u guy have ways to solve this?

    Do you mean that people should not be able to start other applications, or switch to other running applications, before they have typed the right password into you java program? I don't think that can be done in java - it requires more control over the computer than Java typically gives you. You may have some success with full-screen AWT, though.
    But why not use log-on-systems incorporated in whatever operating system you are using? Or some other netware thingie? Honestly, I think you are trying to reinvent the wheel, and even with tool that's not very appropriate.

  • How do I change what the middle mouse button/wheel does?

    I feel like an idiot asking this, but I can't figure this out...
    I've plugged in a bog standard 2 button + scroll wheel third button mouse, but I can't get the middle mouse button/wheel to behave like it would in Windows.  If I click it, it changes programs, hold it it brings up the task switcher thing.  It's like I'm pressing command + tab.
    I want it to work normally, where the program I'm using the middle button responds, not the OS.  Like in Firefox, I want to be able to close tabs with the middle mouse button, and open new links with it...instead all it can do is switch programs.
    Is there a way to do this?  Am I missing something obvious?

    Err...I don't know what happened, but I rebooted and now it's working like normal (knock on wood!).  Noooo idea how it ended up in that state!

  • Mouse scroll wheel do not command Photoshop input fields correctly

    Hi guys,
    Some general info:
    1. I have Logitech Keyboard K800 - it have its own receiver
    2. I have Logitech Mouse (MX1100) - it have its own receiver
    3. Photoshop CS6 x64 - latest updates
    4. Windows 7 x64 - latest updates
    5. SetPoint - latest version
    6. More about the system (please let me know if I have to post all the text from Photoshop System Info popup):
    Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 4
    Logical processor count: 8
    Processor speed: 3410 MHz
    Built-in memory: 16342 MB
    Free memory: 9098 MB
    Memory available to Photoshop: 14718 MB
    Memory used by Photoshop: 90 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GTX 560/PCIe/SSE2
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 1050, right: 1680
    Video Card Number: 1
    Video Card: NVIDIA GeForce GTX 560
    OpenCL Version:
    Driver Version: 9.18.13.1090
    Driver Date: 20121229000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode: 1680 x 1050 x 4294967296 colors
    Video Card Caption: NVIDIA GeForce GTX 560
    Video Card Memory: 1024 MB
    Video Rect Texture Size: 16384
    Serial number: 92298292820550253494
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
    Temporary file path: C:\Users\kckfm\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      F:\, 685.6G, 198.8G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set
    Some other info:
    You  know that you can control Photoshop input fields http://screencast.com/t/ApVseKYRxz with the mouse scroll wheel. Pretty handy indeed. You just have to click on the field and spin the wheel and values changing.
    The problem:
    My mouse wheel cannot control the input fields in this way. I select the field, spin the wheel and nothing happen. When I spin it faster a couple of times, than the values get changing - pretty strange ha? Scrolling normally - do not change, scrolling fast change. But to scroll fast is not an option because I cannot change the values slightly with small increments... There is a bug really...
    What I tried and didn't work:
    1. Restarted Photoshop
    2. Plug/Unplug and change different USB slots for both receivers.
    3. Reintalling latest SetPoint Drivers (after uninstall I run ccleaner)
    4. Put all SetPoint settings to defaults (because I programmed some mouse keys to Photoshop specifically).
    5. Install earlier versions of SetPoint drivers.
    6. Set my UEFI BIOS to defaults.
    7. Restarted the BIOS to load all the drivers again, but still no luck
    (the last think I didn't do is to reinstall Photoshop)
    What I have investigated so far:
    1. When I restart the computer and run Photoshop it works perfect HA! , but after a seconds it do not words again ...
    2. When I stop SetPoint software, when I shut down it, it words perfect.
    3. When I unplug keyboard receiver it words perfect, but I do not have keyboard:)
    4. Everything works perfect in Illustrator and After effects.
    5. Also I noticed that when I scroll images in CameraRaw - http://screencast.com/t/xKnn6cY9 the I have to scroll harder and spin the wheel harder to scroll - the same problem.
    6. Also in photoshop and bridge scrolling here - is pretty smooth and works perfect - http://screencast.com/t/75IXMG6Zria
    Maybe the most important part - When I start experiencing the problem:
    I had same configuration , same everything and everything worked fine.
    I installed SSD disk, reinstalled Windows (same like before), updated my BIOS to UEFI. Installed Photoshop and SetPoint and problem started.
    Posted same request to Logitech, but want to ask you for help too.
    Thanks!

    Hi all,
    I found a solution.
    1. Uninstall your current Setpoint Driver.
    2. Run CCleaner - http://www.piriform.com/ccleaner
    3. Download an older version of SetPoint - http://www.oldapps.com/setpoint.php
    (I used SetPoint 6.15 (x64), I tried 6.20, 6.32, 6.50 , but no luck)
    4. Now everything is all right!
    Thanks!
    Can somebody mark this as solved? Thanks!
    SK

  • How can I stop coalescing of mouse move/drag events in jdk1.6 ?

    Hello all,
    My application uses a [pen-based tablet|http://en.wikipedia.org/wiki/Graphics_tablet] to draw lines/curves. But the problem is: when I run my application, due to java’s default behavior of discarding the mouse events which occurs during the repaint call, the curves results in the set of joined straight lines.
    To overcome this problem, when searched over net, came across below link:
    [http://forums.sun.com/thread.jspa?messageID=10811388]
    I tried the option provided at the above URL i.e. overriding the below method of Component.java file:
    protected AWTEvent coalesceEvents(AWTEvent existingEvent,AWTEvent newEvent);
    But later found that, overriding this method worked fine for me for jdk1.5 but this solution did not work in case of jdk1.6. When reviewed the source of Component.java and EventQueue.java files in jdk1.6, found that this method is not having any implementation and simply returns “null” and the complete handling of coalescing of events occurs within EventQueue.java file’s local method which is mentioned below:
    private boolean coalesceEvent(AWTEvent e, int priority);
    As this method is part of EventQueue.java and also it is a private method, I am not finding any way to stop the coalescing of mouse move/drag events in jdk1.6.
    The main problem is that my application is purely based on jdk1.6 only.
    Can anybody help me out to solve this problem by providing any option of preventing the coalescing of mouse move/drag events in case of jdk1.6.
    Thank you.

    Look at the link I posted, you aren't double buffering correctly.
    I saw the other post you mistakenly made before you edited it. Not really a big deal, I was just wondering why you did that.

  • Mouse scroll wheel not working correctly.

    Just installed Firefox 4 and my mouse scroll wheel is not working correctly. When opening the program, I can scroll as normal for about 5/10 minutes. Then, suddenly, the mouse scroll wheel no longer works. I've since found that it is actually scrolling outside of Firefox. E.g. I had Outlook open and it was scrolling through my Outlook even though Firefox was the open window. I checked this multiple times and it always seems to be the case.
    Checked about:config as advised, everything looks correct on the mousewheel settings (i.e everything is set to default). Mouse drivers are up to date. No problems with any other programs. This issue started occurring in Firefox 4 beta. I switched back to 3.6 so I could continue scrolling. Updating to Firefox 4 caused the issue to recur.

    It seems a lot of people are having problems with the Mighty Mouse's scroll ball. I actually thought I was done for after just a few weeks of using my first (wired) one. But here I am years later with my wireless variant, beeing perfectly happy with it (in case you don't know, the wireless Mighty Mouse is a much better option due to it's laser based tracking system). In my experience, getting rid of fluff that interferes with the ball is quite easy on both types. Try blowing really hard directly at the trackball (optionally while you press it down with some pointed device) a few times. Rotate it and repeat as needed. Alternatively roll the mouse upside down on the microfiber cloth that probably came with your Mac.

  • In Flashplayer, I can crossover mouse and keyboard events. In IrfanView I cannot. Can this be fixed?

    My client uses IrfanView to play SWF files. Unfortunately, he does not use Flashplayer. In Flashplayer, I can crossover mouse and keyboard events with no problem. In IrfanView, the second I click a button, the keyboard events are disabled. Is there a fix?

    Hi Ned. I may have posted this issue a bit early, but this problem is also happening in Flashplayer 10. It's not exclusive to IrfanView.
    Here is something that I encountered during my testing, when I jump to scene 6 using the menu button, I have a play button to jump from one frame to the next frame that stops -- the keyboard events start working. But if all I am doing is jumping scene to scene with the mouse button, the keyboard events are disabled.
    I feel as if the keyboard events only work if I am playing frames in the scene. And if all I am doing is jumping scene to scene using the buttons, the keys will disable.
    I set up the mouse buttons inside a movieclip that all the scenes share. The mouse actionscript is in the movieclip. On the main timeline of each scene is an actionscript for the keyboard events, even though I had to change each function name.
    I feel the actionscript is setup pretty simple. I just wish clicking the buttons would not disable the keyboard events. This may sound redundant, but the keyboard events do the same thing if you use the mouse buttons. It's just preference for the client even though he will need to understand that using the mouse buttons override the keyboard events. He doesn't really lose functionality.
    Keyboard actionscripting below:
    import flash.events.KeyboardEvent;
    stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyEvent);
    function onKeyEvent(e:KeyboardEvent):void {
    var character:String=String.fromCharCode(e.charCode);
    if (e.keyCode==72) {
      gotoAndStop(1,"master");
    if (e.charCode==49) {
      gotoAndPlay(1,"Distributor");
    if (e.charCode==50) {
      gotoAndPlay(1,"Mirka");
    if (e.charCode==51) {
      gotoAndPlay(1,"Farm");
    if (e.charCode==52) {
      gotoAndPlay(1,"Check2");
    if (e.charCode==53) {
      gotoAndPlay(1,"Check3");
    if (e.charCode==54) {
      gotoAndPlay(1,"Scene2");
    if (e.charCode==55) {
      gotoAndPlay(1,"Scene1");

Maybe you are looking for

  • Help Please! I am trying to get the 7232 DVR

    I have been trying to get the 7232 DVR since installation. My Triple Play was installed on 12/23/2011 and I was given NO DVR. I was told I needed to go to the neaest store to get my DVR. At the store they told me they did not have the 7232 but gave m

  • Which headphones with 3.5 mm jack is the best?

    Hello could you help me? I need a headphones for mobile, with 3.5 mm jack. You know I have a Sony NWZ-B142F 2GB but it's headphones has been damaged. I really liked them. could you tell me what is the model of that headphones? or could you suggest me

  • Printing Smartforms in JAPANESE langugae

    Hi All, I am Printing Japanese Output using SMARTFORMS. I have used NO_DIALOG in Control parameters so that Pop to select printer does not appear. I have also passed my output device to OUTPUT options of smartforms but still it is not picking. It is

  • LE-TRM: Two-step confirmation

    Dear all, Could you please provide a link to a SAP documentation which stipulates that Two-step confirmation settings (SPRO > Logistics Execution > Warehouse Management > Activities > Confirmation > Confirmation control for Warehouse number / Storage

  • ACE 4710 http probe get url question

    I am trying to create a http probe using the request method get url command. My url contains a question mark and the ACE will not accept the url as is and it strips out the question mark character. Is there a way to make the ace accept a url containg