If the context exists, the focus will be switched to the current program of the running context.
If the focus cannot be set, for example, due to another context opening a modal window, the function will fail.
If the context program has no window, setting the focus will seem as if the current window is being left and no other window is in focus.
When the context exists, the function always returns True.
If the context does not exist, the focus will not be modified and the function will return False.
|