int ListMenu_GetItemCount( GUI_LIST * gui );
Функция получает число пунктов в GUI.
Число пунктов
int selected = ListMenu_GetSelectedItem( gui_list ); int count = ListMenu_GetItemCount( gui_list ); if(selected>count) { ListMenu_SetCursorToItem( gui_list , count-1 ); }
ListMenu_DestroyItems, ListMenu_EnableSearchHeader, ListMenu_GetSelectedItem, ListMenu_SetItemCount, CreateListMenu, ListMenu_SetHotkeyMode, ListMenu_SetCursorToItem, ListMenu_SetItemIcon, ListMenu_SetItemSecondLineText, ListMenu_SetItemStyle, ListMenu_SetItemTextScroll, ListMenu_SetNoItemText, ListMenu_SetOnMessage, ListMenu_SetSearchLanguageMode