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

Reply via email to