When you click the right mouse button anywhere in an active viewport, except on the viewport label, the program displays a quad menu at the mouse cursor. The quad menu can display up to four quadrant areas with various commands.
In the MAXScript Listener window, type apropos "quadmenusettings" to see the list of functions available.
The quad menu is set in the startup scripts directory called QuadOptions_Startup.ms.
The two right quadrants of the default quad menu display generic commands, which are shared between all objects. The two left quadrants contain context-specific commands, such as mesh tools and light commands. Each of these menus provides convenient access to functions found in the command panel.
The quad menu contents depend on what is selected, as well as any customization options you may have selected in the Quads panel of the Customize UI dialog. The menus are set up to display only the commands that are available for the current selection, therefore selecting different types of objects displays different commands in the quadrants. Consequently, if no object is selected, all of the object-specific commands will be hidden. If all of the commands for one quadrant are hidden, the quadrant will not be displayed.
PickObject()
does not pick objects when launched from a quad menu. It will hang and refuses to pick any object. Hit 'escape' for emergency exit. PickObject works correctly from a shortcut and toolbar.