Microsoft SDK for Java

getAccFocus

This method of the IAccessibleDefault Interface retrieves the child object that currently has the keyboard focus. If the object itself has the keyboard focus, this method returns zero as a VT_14 type. If a child has the focus but isn't an accessible object, it returns the child ID as a VT_14 type. If a child has the focus and is an accessible object, this method returns its IDispatch interface.

Syntax

public Variant getAccFocus();

Return Value

Returns the Variant object that contains information about the retrieved child object.

Overrides

getAccFocus() in IAccessible.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.