Hi Bruce and David,

I'm not running Win7, but I've sometimes (rarely) had a null handle for XP.

So, maybe including a more detailed *Info expr(..) in the button's tooltip 
showing the handle, exename, class, and caption may help debug.

Hopefully this helps. :-)

Ted




--- In [email protected], "brucexs" wrote:
> 
> --- In [email protected], David Troesch wrote:
> > 
> > > So some kind of focus problem. Can you create a button with 
> > > label *info expr(win.exename("rawactive"))
> > > until it fails next time to see what program has the focus.
> > 
> > There's the problem. It's blank for notepad right now.
>
> 
> No, I am afraid that just means the techniques used by
> win.exename don't work but that would be a separate issue.
> 
> *info expr(win.caption("rawactive"))
> 
> which won't be quite as easy to interpret, but should still help.
>


Reply via email to