accMenuItem Property


object = accMenuItem(wndID);

Will search for a child accessible object having the ROLE_SYSTEM_MENUITEM 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 menu item object is used both for menu bar items and popup menu items. The default action (accDoDefaultAction) is to execute the command associated with the item. For items which display a submenu the default action is to show/hide the submenu.

See also

wnd Overview | MS Accessibility

 


© 2003 Lightweight Technologies. All rights reserved.