accMenuPopup Property


object = accMenuPopup(wndID);

Will search for a child accessible object having the ROLE_SYSTEM_MENUPOPUP role.

Parameters

wndID
Optional. Either an integer as the zero-based index of the child with the specified role, or a string containing the child name. The string can be a regular expression. Default value is 0.

Remarks

A popup menu object is used both for menu bar sub-menus, and for right-click context menus. Note that accChildCount will return the number of items on the menu, but will count separators as well.

See also

wnd Overview | MS Accessibility

 


© 2003 Lightweight Technologies. All rights reserved.