Share via


SYS(2800) - Accessibility Support

Disables or enables Microsoft Active Accessibility support and sets certain options to track the keyboard focus of the currently selected control in a Visual FoxPro form.

SYS(2800 [,nFlag] )

Parameters

  • nFlag
    Disables accessibility support or enables various accessibility functionality according to the following table.

    Note

    The flags are additive.

    nFlags

    Description

    0

    Disables Active Accessibility (AA).

    1

    Enables WM_GETOBJECT.

    2

    Enables NotifyWinEvent.

    4

    Causes Visual FoxPro to not return to Accessibility clients until a specified action is complete. Overrides the messages of certain methods of IAccessible, such as accDoDefaultAction or accSelect, to process the client's request and return to the client immediately.

    16

    Enables ACCNAME. Returns object Name rather than Caption. Use for testing.

    32

    For backward compatibility only.

    The default for nFlag is 3, which is the sum of "Enables WM_GETOBJECT" (2) + "Enables NotifyWinEvent" (3).

    For details on WM_GETOBJECT, NotifyWinEvent, and accDoDefaultAction, see the Accessibility topic in the User Interface Services section of Platform SDK in the MSDN Online Library.

Return Value

Character

Remarks

SYS(2800) returns a numeric value as a character string for the current Active Accessibility setting.

This function enables you to verify the functionality of accessibility aids, such as the Microsoft Magnifier, when you are designing an application to comply with Windows Logo requirements.

This function is only effective for native Visual FoxPro controls. Third party ActiveX controls may or may not correctly track keyboard focus with accessibility aids enabled. Contact the control vendor for information on the accessibility behavior of a specific control.

See Also

Reference

SYS( ) Functions Overview