Command Prompt for Windows




Command GETFOCUS

Function:

Retrieve the identifier of the dialog item that has the keyboard input focus. The identifier is stored in an environment variable call GETFOCUS.

Syntax:

GETFOCUS

Note:

The identifier of any type of item may be returned.

Also see command SETFOCUS.