[Jprogramming] switching between windows and opengl

bill lam bbill.lam at gmail.com
Thu Sep 17 00:33:57 HKT 2009


On Wed, 16 Sep 2009, Brian Schott wrote:
> One other change I made was to add the following line to the beginning
> of the paint  verb  because I was trying to achieve the finding of the
> graphics handle when jumping between windows.
> 
>    wd'psel opengl;pactive'

I cannot run that opengl stuff because I use linux64.  However I
suspect that you need a timer to schedule the steps rather than
blindly loop 100 times.

BTW I guess that you might need
   wd'psel opengl'

but the 'pactive' part will not affect 'graphic handle'.  If you have
more than one isigraph in the same window form, then you need an the
'glsel'.  Moreover if you use 'glsel' then wd'psel ...' is not needed
for the purpose opengl drawing.  sound confusing  ;-)

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3


More information about the Programming mailing list