Mouse Capture APIs

Hi there,

I took a look at the archives and did not see any discussion so far  
about adding mouse capture capabilities. In my experience of  
designing UI widgets in SVG, mouse capture is absolutely essential in  
order to provide to the user an experience similar to that he/she  
would be used to in "traditional" native platform applications. In  
the Adobe SVG Viewer, a captureMouse() method allows, following a  
mousedown event, to hijack all mouse events in the system and  
redirect them to a single event handler, making it so that any other  
mouse event handlers registered on other elements do not get  
triggered, etc. Capture is automatically released once the user  
releases the mouse button ("mouseup"), wherever it is, not just on  
top of the main browser window. While I don't have much experience  
with it, I've been told that IE has similar capabilities with its  
setCapture() method.

Both these methods are proprietary of course, and it would be useful  
to have a standard way to express this capability.

Antoine
-- 
Antoine Quint — Fuchsia Design
SVG & Client-side XML Consulting
W3C SVG WG Invited Expert
http://fuchsia-design.com

Received on Wednesday, 12 July 2006 15:50:12 UTC