2014-02-20 03:19 AM
item_data.mapId = API_LayoutMap; // more codes API_NavigatorItem** items; err = ACAPI_Environment(APIEnv_GetNavigatorChildrenItemsID, &item_data, &items); if (mErr != NoError) return; int cnt = BMhGetSize((GSHandle)items) / sizeof(API_NavigatorItem); for (int i = 0; i < cnt; i++) WriteReport("Children Map: %d", (*items).mapId);This code will output the mapId of all the children of the given navigator item (item_data in this case) which is (API_UndefinedMap).