SetMenuExitButton

Last Updated2007-10-30
Created At2007-05-14

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)

Parameters

Handle menu
Menu Handle.
bool button
True to enable the button, false to remove it.

Return Value

bool True if allowed; false on failure.

Error

Invalid Handle.