Removes a menu from displayint sm_menu_remove(int scope);
- Specifies which menu to remove from display:
- Removes the application menu.
- Removes the current screen's menu, either installed with the current screen or inherited from another screen.
- Removes the current field's menu.
sm_menu_removemakes a menu unavailable for display at the specified scope. Because the script remains loaded, any subsequent changes to the menu's properties become visible when you reinstall it.
This function has no effect on other instances of the menu that are installed from the same memory location.