8 Creating Menus

You can create menus for an application using the menu class.

You should make sure you have defined the test-callback and hello functions before attempting any of the examples in this chapter. Their definitions are repeated here for convenience.

(defun test-callback (data interface)
  (display-message "Data ~S in interface ~S" 
                   data interface))
(defun hello (data interface)
  (declare (ignore data interface)) 
  (display-message "Hello World"))

8.1 Creating a menu

8.2 Grouping menu items together

8.3 Creating individual menu items

8.4 The CAPI menu hierarchy

8.5 Disabling menu items

8.6 Popup menus for panes

LispWorks CAPI User Guide (Windows version) - 14 Jun 2006