Sets whether the menu should be paginated or not. If itemsPerPage is MENU_NO_PAGINATION, and the exit button flag is set, then the exit button flag is removed. It can be re-applied if desired.
native bool SetMenuPagination(Handle menu, int itemsPerPage)