done by setting the allkeys param to 1. when this is the case, if the menu item function returns 0, normal processing is done, otherwise processing stops.