Next Previous Up Top Contents Index

4 Adding Menus To The Application

4.1 A description of the menu system

Before implementing the menus for the task list manager, it is worth describing what you are going to implement. The menu system of the task list manager comprises four menus: a File menu, Edit menu, Task menu, and Help. Each of these menus contains a number of commands, as follows:

File menu

The File menu contains four commands that operate on the files loaded into the task list manager. The Open command opens a new file. The Save command saves the currently loaded file to disk. The Save As command saves the currently loaded file to disk under a new name. The Exit command quits the task application completely.

Edit menu

The Edit menu contains the standard clipboard commands: Cut, Copy, and Paste.

Task menu

The Task menu contains two commands that operate on individual tasks. The Add command adds a new task to the list. The Remove command removes the selected task from the list.

Help menu

In a full-blown application, you would use commands in the Help menu as one hook into your online help system (other hooks being provided by buttons in dialog boxes and the F1 key). In this application, the Help menu contains a single command that simply displays a simple About dialog for the application.


Building Applications Using DUIM - 26 May 1999

Next Previous Up Top Contents Index