Custom Window in Focus - Forum

Forum Navigation
You need to log in to create posts and topics.

Custom Window in Focus

How can I detect if a CustomWindow is in focus (or not)? The FocusObject action only works on TextEntry or keyboard centric objects. I've attempted to use something like SetVar "[FocusObj]" "[FocusedObject]" inside a While/EndWhile action but it doesn't immediately set the FocusedObject variable.

What I want is to close a custom window if the mouse is clicked anywhere outside the custom window.

Thanks.

proforma.guyot has reacted to this post.
proforma.guyot

@pauljonestindall take a look at the attached app.
I have just used a semitransparent image located in between the Custom Window and the rest of the background app.
The image is only shown when the Custom Window opens and if you click on it, closes the Custom Window.
Not sure if this is what you were looking for.

Regards.

Uploaded files:
  • You need to login to have access to uploads.
proforma.guyot and CN_Iceman have reacted to this post.
proforma.guyotCN_Iceman

@luishp

Wow! That is a really interesting technique.

A totally transparent image would make it practically seamless.

Thanks. I'll use it.