Menus
Do you remember the Monty Python skit about the cheese shop? Here’s how it goes: A guy comes into a cheese shop and wants a particular type of cheese. The shop doesn’t have it. So he asks for another type of cheese, and another, and another, and another (eventually totaling about 40 types, most of which are quite obscure), and still the answer is “No, no, no, no, no.” Ultimately, there’s a shooting involved.
This whole unfortunate incident could have been avoided through the use of menus. A menu is a list of available options. A menu tells a hungry patron what the kitchen can serve up and—for a Windows program—tells the user what operations an application is capable of performing.
A menu is probably the most important part of the consistent ...
Get Programming Windows®, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.