I find this problem curious and a great waste of time. Using Win2KPro and BCB5, I have a main menu driven by an action list. Accelerators work normally and the underscores are displayed as expected. If I then attach an image list to enable glyphs for any or all menu items, the underscores are lost from all of the menu items, both in the designer and at run time. The problem applies to all drop down menus which have any glyphs. Any dropdown without any glyphs displays the accelerators normally. Normally displayed menus and faulty menus can exist within the same application.
This behaviour is also evident in commercial products which use glyphs on menu items, so it seems not to be a compiler issue.
Possibly related, if the Window menu has three items only then the open mdi filenames are appended to this menu as expected. If there are not three items then no open filenames are displayed at all. This behaviour is not exhibited when the sample mdi editor application is loaded and built. It is a problem with my current commercial product whose roots go back a few years to BCB3.
Has anyone seen such behaviour or have any idea where I should start searching for a solution?
This behaviour is also evident in commercial products which use glyphs on menu items, so it seems not to be a compiler issue.
Possibly related, if the Window menu has three items only then the open mdi filenames are appended to this menu as expected. If there are not three items then no open filenames are displayed at all. This behaviour is not exhibited when the sample mdi editor application is loaded and built. It is a problem with my current commercial product whose roots go back a few years to BCB3.
Has anyone seen such behaviour or have any idea where I should start searching for a solution?