Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TCXL Database - mnuget http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MnuGet

Processes the menu structure.

Header File.....TCXLmnu.h

Prototype.......TagT CTYP MnuGet(NOARG);

Source File.....MNU\MNUGET.C

Arguments.......None

Returns.........The Tag ID of the menu item that was selected.
                ERR_NUL  -  Check TcxlErr for W_ESCPRESS!
                ERR_ARG  -  Argument Failure
                ERR_MEM  -  Memory Allocation Failure
                   TcxlErr contains:
                   W_NOMNUDEF  -  No Menu Defined
                   W_NOMNUEND  -  No End Of Menu Specified. See MnuEnd().
                   W_ESCPRESS  -  The  Esc  Key Was Pressed From The Root
                      Menu
                   W_INVCOORD  -  Invalid Coordinates
                   W_INVBTYPE  -  Invalid Border Type

Notes...........The user is allowed to move a selection bar around to the
                various menu items. If mouse support is on, then the user
                can use the mouse for selecting as well.  If sub-menus
                exists, then the user can select those also.  Escape
                checking is provided for when the user is in the root menu,
                however if the user is in a sub-menu, pressing  Esc  will
                always return to the next level up.  This is one of the 4
                functions that are required to process a menu.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson