Sets whether or not the menu has an exit button. By default, paginated menus have an exit button. If a menu's pagination is changed to MENU_NO_PAGINATION, and the pagination was previously a different value, then the Exit button status is changed to false. It must be explicitly re-enabled afterwards. If a non-paginated menu has an exit button, then at most 9 items will be displayed.
native bool SetMenuExitButton(Handle menu, bool button)