SetMenuPagination

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

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)

Parameters

Handle menu
Handle to the menu.
int itemsPerPage
Number of items per page, or MENU_NO_PAGINATION.

Return Value

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

Error

Invalid Handle.