共用方式為


AFX_GLOBAL_DATA::EnableAccessibilitySupport

Enables or disables Microsoft Active Accessibility support.

void EnableAccessibilitySupport(
   BOOL bEnable=TRUE 
);

Parameters

  • [in] bEnable
    TRUE to enable accessibility support; FALSE to disable accessibility support. The default value is TRUE.

Remarks

Active Accessibility is a COM-based technology that improves the way programs and the Windows operating system work together with assistive technology products. It provides reliable methods for exposing information about user interface elements. However, a newer accessibility model called Microsoft UI Automation is now available. For a comparison of the two technologies, see UI Automation and Microsoft Active Accessibility.

Use the AFX_GLOBAL_DATA::IsAccessibilitySupport method to determine whether Microsoft Active Accessibility support is enabled.

Requirements

Header: afxglobals.h

See Also

Reference

AFX_GLOBAL_DATA Structure

Hierarchy Chart

AFX_GLOBAL_DATA::IsAccessibilitySupport

Concepts

UI Automation and Microsoft Active Accessibility