Windows and Events Produce Menus
This chapter shows how to program to produce a menu. A menu is a way of presenting selection options to a program user. A so-called pull down menu will be used here whereby such a menu drops down, or appears on the screen below a selection window, called a button. A button is a particular case of a window. Implementing a pop up menu whereby a menu appears at the mouse pointer which is positioned anywhere on the screen, after a mouse button is pressed, follows the same development considered here.