We've already seen how the Dock utilizes menus in the "Remove Items from the Dock" guide.  You can get to these hidden menus by either clicking and holding the mouse button on a Dock icon or by simultaneously pressing the Control button on the keyboard and clicking the mouse button.  When either of these two actions are performed, the Dock will display a menu above the icon.

The menu options can vary.  For example if I have a single Safari browser open the menu would be as follows:


If I had another Safari browser open the menu would adjust accordingly and place a check next to most recent Safari window that I was using:

If you were to click on "Apple" Mac OS X would then display that Safari window.  Note that the Dock menus are capable of changing based on how the application is currently in use and are able to provide additional information to the user.  The preceding images would be shown if either or both Safari windows were active and not minimized to the right side of the Dock.The Dock will change the icon to a diamond if any application window is minimized:


This example tells the user that the Safari window currently at Apple is active whereas the browser window at Yahoo is minimized to the Dock.  If both were minimized, each would have a diamond to the left of the window.

The menus also display additional options.  For example, "New Window". "Open at Login", "Show in Finder", "Hide", and "Quit".  Show in Finder will highlight the application, folder, or document in the folder it resides on Disk.  This is a quick way to navigate to a folder if you can’t quite remember where it resides or if you need to find relevant information about the application.  Hide and Quit are self explanatory.
 
You can change what the menu displays by pressing the Option button while the menu is active.  Hide changes to "Hide Others", Quit changes to "Force Quit".  Hide Others would hide other applications, not the one you have clicked on.  Force Quit is most often used when a program becomes unresponsive, hangs, or freezes. Note however that a responsive program can also be terminated with Force Quit but be aware that any unsaved changes in that application will be lost.

Note that the Dock menus change and so do the options based on the Application.  For example here's what is displayed for iTunes:
 
 
Created: 10:56 PM on Dec 24, 2006
By: switchtoamac