ener.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Menu control array elements must be contiguous
■ The items in a menu control array must be located next to
  each other on the same menu or submenu.
 
■ Possible solution:
 
  • Make the CtlName properties of submenu items different
    from that of the top-level menu title. For example, to
    create an Edit menu, you might use the following values:
 
              Caption     CtlName        Index
              ═══════     ══════════     ════════════════════
              &Edit       Title_Edit     1
              Cu&t        Edit1_Item     1
              &Copy       Edit2_Item     2
              &Paste      Edit3_Item     3
              &Delete     Edit4_Item     4
              ────────────────────────────────────────────────
 
■ If you need additional help, move the cursor to a keyword
  and press F1 to open the Help window.