HP Forums

Full Version: Mouse Event
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I intercept mouse events without losing it's original ability?

I create a drawmenu and intercepts mouse event in order to make drawmenu react to clicks.
I do this in the terminal screen, the terminal screen can be scrolled with mouse events.
You drag the screen down or up and get the scroll as answer.
But if I intercept the mouse like this:

The scrolling stops working.
Would there be a way to not have to rewrite the scroll myself, or not losing its original behaviour?

Unfortunately no.
The reason for this is that is that mouse events will not be processed until all programs and other actions are finished as they are themselves actions...

Reference URL's