Menubar

The top level menu bar appears underneath the application's title bar. The MenuBar creates MenuPopUps when the user selects a top-level item which has a MENU_POPUP style.

The application does not fill in these window structures nor create the windows, but it does allocate storage space for them (indirectly) when it allocates the LHAPIBLOCK structure. The LHAPI system initializes them when a <MENU> key or <ALT> key press is intercepted. Their content is based on the menu pointer in the window structure which has the focus.

Window Structure Details

Messages