get_submenu


handle get_submenu(handle supermenu,
                   int position)

This function obtains a handle of a submenu at a given position.

Parameters

handle supermenu

The handle of the menu containing the submenu.

int position

The zero-based position of the submenu being queried.

Return

handle

null The call failed.
Other The handle of the submenu at the given position.

Notes

If the specified menu does not contain a submenu, an error is flagged.