SetMenuPagination Function

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.

bool SetMenuPagination(Handle menu, int itemsPerPage)

Parameters

Handle menu

Handle to the menu.

int itemsPerPage

Number of items per page, or MENU_NO_PAGINATION.

Return Value

True on success, false if pagination is too high or low.

Errors

Invalid Handle.