[Main]
Name=QMenuTopSelect
Type=Function
Subtype=ROM Call
Header Files=menus.h
Definition=unsigned short QMenuTopSelect (HANDLE ExecHandle);
MinAMS=2.00
See Also=menus.h/MenuBegin, menus.h/MenuTopSelect

[ROM Call]
Index=$41A

[Description]
Returns the currently selected top-level menu item.

[Explanation]
QMenuTopSelect returns the currently selected top-level menu item (0 = first, 1 = second,
etc.) or -1 if none is selected.
<I>ExecHandle</I> refers to a menu-draw handle returned from
<A HREF="$$LINK(menus.h/MenuBegin)">MenuBegin</A>.
<A HREF="$$LINK(menus.h/MenuTopSelect)">MenuTopSelect</A> is normally used with redefinable menus.
