MSM-Workstation
Macros

Go back to the alphabetic list of macros
Go back to the first page of this tutorial

%%FocusWin

This macro generates code that returns a specification of the name of the window that currently has focus.

Note: The control that currently has focus is not necessarily the same as the control that is the "current control". Typically the two are the same, but not always. For instance, while a window is being created, it is the "current" window, but it doesn't have focus.

Examples

...
...

See also

%%CurrCtl, %%CurrWin, %%Focus, %%FocusCtl and %%SetFocus.