The handle of the window containing the menu.
The text of the first-level menu item.
Optional text of the second-level menu item.
Optional text of the third-level menu item.
Optional text of the fourth-level menu item.
Optional text of the fifth-level menu item.
Optional text of the sixth-level menu item.
Optional text of the seventh-level menu item.
Optional text of the eighth-level menu item.
1 if successful, 0 otherwise.
Selects a menu item in a window.
Underlined items in the menu must be selected using the
&
prefix. For example, if you're following the sequenceFile -> Open
, you would use&File
and&Open
in the parameters.