Share via


Navigation Constants

The following values, defined in oleacc.h, indicate spatial (up, down, left, and right) or logical (first child, last child, next, and previous) directions when clients navigate from one user interface element to another within the same container using IAccessible::accNavigate. For more information, see Object Navigation Properties and Methods.

The Microsoft Active Accessibility navigation constants are as follows:

  • NAVDIR_DOWN
    Navigate to the sibling object located below the starting object.
  • NAVDIR_FIRSTCHILD
    Navigate to the first child of this object. When using this flag, the lVal member of the varStart parameter must be CHILDID_SELF.
  • NAVDIR_LASTCHILD
    Navigate to the last child of this object. When using this flag, the lVal member of the varStart parameter must be CHILDID_SELF.
  • NAVDIR_LEFT
    Navigate to the sibling object located to the left of the starting object.
  • NAVDIR_NEXT
    Navigate to the next logical object, generally a sibling to the starting object.
  • NAVDIR_PREVIOUS
    Navigate to the previous logical object, generally a sibling to the starting object.
  • NAVDIR_RIGHT
    Navigate to the sibling object located to the right of the starting object.
  • NAVDIR_UP
    Navigate to the sibling object located above the starting object.