Mousewheel Doesn't Fire until element is clicked RRS feed

  • Question

  • I'm writing an image viewer with mousewheel zooming.   I'd expect the mousewheel event on the image to fire when the wheel is turned and the mouse is over the image.  Unfortunately, the mousewheel event won't fire until I click on the image.  Is this a focus issue?  Is there a workaround?

    Thursday, January 6, 2011 5:49 PM


  • Most likely it is focus issue. On your Page_Loaded event, try to put this code and see if it make a difference:


    Thursday, January 6, 2011 10:48 PM