Clears menus from the screen.
Optional. An integer, the number of menus to clear. If num is positive, a corresponding number of menus are cleared from the screen. If num is negative, all but that number of menus are cleared. The default clears all menus.
clears all menus from the screen.
clears all but 2 menus from the screen.
See MENUDELETE to remove a modeless dialog box.