Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Problem with Mouse Wheel event


Hi,

I tried to catch the mouse wheel event on a SWT widget that I implemented.
I had a listener to my widget with the following instruction:

localMouseWheelListener = new Listener() {

        public void handleEvent(Event e) {
          ....
        }
       
    };
    mywidget_.addListener(SWT.MouseWheel, localMouseWheelListener);

But when I execute the application and rotate the mouse wheel the listener is never called
and the widget receives no event.

Please, could you help me !

Eric.

_________________________________
Miravete Eric
IBM Software Group
Phone: +33 5 62 16 56 73
Fax: +33 5 62 16 ?? ??
email: eric.miravete@xxxxxxxxxx

Back to the top