GetValueForKeyAtIndexInMenu
if (AppUtils::GetValueForKeyAtIndexInMenu(menu, i, key, &itemCode) == B_OK) {
static status_t GetValueForKeyAtIndexInMenu(BMenu* menu, int32 index,