Category: 

What Is a Context Menu?

Article Details
  • Written By: Alex Newth
  • Edited By: Angela B.
  • Last Modified Date: 23 September 2016
  • Copyright Protected:
    2003-2016
    Conjecture Corporation
  • Print this Article
Free Widgets for your Site/Blog
Roughly one-fifth of the world's stock of gold - worth over $200 billion USD - is stored under the streets of London.  more...

September 30 ,  1949 :  The Berlin Air Lift ended.  more...

Context menus are small menus that appear on computer screens, either on the desktop or in an application, usually in response to the user right-clicking an area. It is called a context menu because the menu changes according to the context, such as if a folder is open or a word is highlighted in an application. Some programs offer large shortcut menus, but this is usually avoided because larger menus are tedious to use and make it difficult to find a function that serves the user’s current situation. Shortcut menus will sometimes offer extra sections but, generally, there is only the one menu section.

A context menu is made to open from a user’s input, usually a right mouse click, but center clicks or holding the mouse button are also common. These menus show tools or options that are appropriate for the user’s current situation. For example, if the user has an icon in a folder highlighted, there may be options to send the icon to the trashcan or make a duplicate of the icon. If a word in a word processing program is highlighted, there will usually be options to copy and paste the word.

Ad

The number of options a context menu holds is typically limited to 10 or fewer commands relevant to the user’s current state. By having a smaller menu, it is easier for the user to look through the commands. It also makes it easier to see the options, because the user doesn't have to look through a much larger variety of options that may not be relevant at the time. Most menus also do not include, or only have one or two, pull-right menus, the menus that appear when the user highlights a section with a right arrow.

Other context menus are large and include nearly all the available options a program offers. These menus may also have several pull-right menus at their disposal. This type of context menu usually is the same, regardless of context, and displays a much wider variety of commands. This menu is useful if the user memorizes the menu and knows where each command is, but it can be awkward to use initially.

Context menus, by programming standards, should not have commands exclusive to the context menu. Some users do not like using context menus or may want to use the commands from the toolbar. This also hides commands that a user may never find, rendering an application useless or less valuable.

Ad

You might also Like

Recommended

Discuss this Article

Post your comments

exception 'Exception' with message 'error writing captcha: Duplicate entry '2147483647' for key 'PRIMARY'' in /ssd/www/wisegeek/public_html/_core/classes/public/Captcha.php:44
Stack trace:
#0 /ssd/www/wisegeek/public_html/_core/controls/public/ControlDiscussionPostBox.php(324): Captcha->createCaptcha()
#1 /ssd/www/wisegeek/public_html/framework/classes/Control.php(104): ControlDiscussionPostBox->preRender(false)
#2 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): Control->render()
#3 /ssd/www/wisegeek/public_html/tpl/default-nocustom-lu/pages/public/article/article.htm(526): Control->__toString()
#4 /ssd/www/wisegeek/public_html/framework/classes/Control.php(300): require('/ssd/www/wisege...')
#5 /ssd/www/wisegeek/public_html/framework/classes/Control.php(309): Control->requireTpl('pages/public/ar...', Object(PageArticleCom), true)
#6 /ssd/www/wisegeek/public_html/framework/classes/Control.php(131): Control->renderTpl('pages/public/ar...', Object(PageArticleCom))
#7 /ssd/www/wisegeek/public_html/framework/classes/FormDataControl.php(87): Control->renderTemplate()
#8 /ssd/www/wisegeek/public_html/framework/classes/Control.php(109): FormDataControl->renderTemplate()
#9 /ssd/www/wisegeek/public_html/framework/classes/ScriptPage.php(50): Control->render(false)
#10 /ssd/www/wisegeek/public_html/framework/classes/Control.php(149): ScriptPage->render()
#11 /ssd/www/wisegeek/public_html/framework/classes/Page.php(97): Control->__toString()
#12 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(443): Page->processRequest()
#13 /ssd/www/wisegeek/public_html/_core/classes/public/PublicFrontController.php(7): PublicFrontController->renderPage()
#14 /ssd/www/wisegeek/public_html/index.php(11): PublicFrontController::run()
#15 {main}