Hi, I am working on Autoscroll/Panning support, and I need to know how to
cancel an event from PreHandleEvent in nsEventStateManager. Is there some
function you can call to prevent further processing of an event? I saw in
nsPresShell.cpp that where PreHandleEvent is called, it checks to see if the
return is NS_OK. But, it seems that no matter what return value is returned
from PreHandleEvent, the event is passed to the DOM.



Reply via email to