September 2002
Intermediate to advanced
1272 pages
31h 12m
English
All Cocoa applications have dock menus. When the application’s icon in the dock is Control-clicked, the dock menu is shown. The default dock menu shows a list of all the application’s open windows, a Show In Finder command, and a Quit command. If a window item is chosen, that window will be brought forward. In addition, the application will be activated if it isn’t already the active application. Figure 16.4 shows an example of a dock menu taken from the TextEdit application.

It is easy to add additional items to the dock menu. Removing the default items, however, is not possible. There are ...
Read now
Unlock full access