It sounds like you guys know what you're doing here, but when you sort it all out could someone write up minutes of the discussion? I would like to know:
0) when glsel is performed automatically; 1) when setfocus is performed automatically; 2) what's this about using an isigraph to create an event for a unique socket? Bill's script was interesting, but why does a mbldown event result, and what is sysdata after the mbldown? And is there any way to extend this to provide event-signaling between J processes? As a peripherally-related topic, can someone point me to a description of how a Windows task sends events to other Windows tasks? I especially wonder how I can send an event from one J task to another J task. Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of bill lam > Sent: Thursday, August 17, 2006 10:22 AM > To: Beta forum > Subject: Re: [Jbeta] Grid fails on "default gl control" issue > > Eric Iverson wrote: > > glsel only affects the target of gl commands and doesn't > affect anything > > else. It would not affect the use of an hwnd of an isigraph > for wsaasync. > > Thanks Eric and Oleg for explanation, I feel much relax now. ;-) > > BTW I also use isigraph for form resize event in J504, > because J601 does not > have isigraph size event, It has to use paint event instead. > From your > clarification it seems that auto glsel in paint event is not harmful. > > NB. ========================================================= > > load 'gl2' > coinsert 'jgl2' > > FM=: 0 : 0 > pc fm; > xywh 0 0 1 1;cc g isigraph ws_disabled rightscale bottomscale; > xywh 22 32 67 12;cc e edit; > xywh 0 0 50 10;cc ss static;cn ""; > pas 6 6;pcenter; > rem form end; > ) > > fm_run=: 3 : 0 > wd FM > NB. initialize form here > glwantresize 'g' > wd 'pshow;' > ) > > fm_close=: 3 : 0 > wd'pclose' > ) > > fm_g_size=: 3 : 0 > wd 'set e *', wd 'qformx' > ) > > fm_run '' > NB. ========================================================= > > > -- > regards, > bill > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
