wnd.menu Property


object = wnd.menu(wndID);

Returns an menu wrapper object for this window's menu bar. The returned object will inherit the same property, which you can use to retrieve submenus.

See menu Overview for a discussion on how to manipulate floating menus (such as a right click menu) by using waitForWindow and Accessibility.

Parameters

wndID
Optional. When this property is called on a window this parameter is ignored and the property will return the window's menu bar (if one exists). When called from a menu this parameter identifies the submenu either by its zero-based index, or by a string containing its name. The string can be a regular expression. Default value is 0.

See also

wnd Overview | wnd.waitForWindow | menu Overview

 


© 2003 Lightweight Technologies. All rights reserved.