On Thu, 19 Feb 2009, Henry Rich wrote: > Well, that's a new trick. If I may trouble you: how do I send > a mousemove event to a particular isigraph? > > And, isn't there some special event that we can use for talking > to J applications? I've never needed to know about it, but do > you know how you would send it?
I searched the email archive and found this. That original code was deleted long long ago and I did not you svn at that time. -------------------------------------------------------------------------- Date: Mon, 02 Jul 2001 10:20:49 -0400 From: "bill lam" <[email protected]> To: [email protected] Subject: Jforum: sysdata in mouse event X-Mailer: MIME-tools 5.41 (Entity 5.404) Reply-To: [email protected] In isigraph's mouse events the wdhandler variable sysdata contains: x y width height leftbutton rightbutton ctrl shift I intended to use an invisble isigraph to implement an user defined event handler, by posting a mmove to isigraph 'user32 PostMessageA i i i i i'&(15!:0) hwnd;512;wparm;lparam (Actually I originally wanted to use it in sdasyncselect) it almost works. lparam can be calculated for 'x y width height' but only the lowest 4 bits of wparam can be recovered. If it doesn't break existing code and not too complicated, will it be possible to include 'wparam lparam' at the end of sysdata for mouse event? -------------------------------------------------------------------------- -- regards, ==================================================== GPG key 1024D/4434BAB3 2008-08-24 gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 唐詩276 劉方平 春怨 紗窗日落漸黃昏 金屋無人見淚痕 寂寞空庭春欲晚 梨花滿地不開門 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
