If your action function needs to hide the current menu or higher-level menus, you can call the function mn_hide() to hide the menus, and mn_show() to show them again. If your action function returns EXITMENU to exit from the menu tree completely, there is no need to call mn_show() to show hidden menus. However, you must call mn_show() to redisplay hidden menus if your action function does not return EXITMENU.
For more information on mn_hide() and mn_show(), see Chapter 22, "Using Menu Options and Features."