Hello.  I’m having difficulty with mouse events in wd.

They work perfectly.  I can pick up (e.g.) mouse-move events for a particular 
control (an isigraph).  Unfortunately, I don’t seem to have a way of 
determining that the mouse has left the isigraph and entered (say) a webview, 
since the webview seems to swallow mouse events (which makes sense) and does 
not report them.  (I’ve got a form_webview_mmove routine—it’s never called.). 
No “mouse_leave” event seems to be generated for the isigraph.  There also seem 
to be no mouse events reported at the form level when it’s busy in the webview.

I print default events and the webview reports three: curl, load and (for some 
strange reason) mwheel, which is sent when I scroll a web page.  No mouse 
events seem to be reported.  Nor are there any focus-change events (which might 
also be helpful).

All of this is a problem because (for UX reasons) I’d like to know that the 
mouse has left the isigraph.  As it stands, I have to assume that it’s hovering 
at the last-reported isigraph coordinates (when it may actually be busy with 
the webview); that confusion leads to an inappropriate response from the 
application.

Any thoughts on this would be greatly appreciated.

Many thanks.

Ed

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to