Causes the window to receive the input focus and execute the code, if any, associated with the onfocus event.
Syntax
HRESULT focus(void);
Return Value
Returns S_OK if successful, or an error code otherwise.
Windows CE
Windows CE Use version 2.12 and later Minimum availability Internet Explorer 4.0
See Also