https://github.com/jsoftware/qtide/blob/master/lib/wd/wd.cpp

I'm looking at the implementation of wd, and I'm trying to figure out
why I can't use both pshow and qhwndc in the same sequence of wd
commands.

Can anyone here help me understand this issue?

Here's a demonstration:

win_close=: {{ wd'pclose'}}
echo wd {{)n
  pc win;
  minwh 300 300;
  cc gl opengl flush;
  pshow;
  qhwndc gl;
}}

Here, there's no result from qhwndc.

If the pshow line is moved below the qhwndc line, the child handle
appears but the window no longer pops up.

Of course, I can work around this issue using two invocations of wd --
but I would like to understand why this is necessary. And, currently,
I don't really know what I'm looking for. (Nor is this a documented
issue, inthe command reference --
https://code.jsoftware.com/wiki/Guides/Window_Driver/Command_Reference
-- nor anywhere else that I've noticed.)

Any insights would be appreciated.

Thanks,

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

Reply via email to